/* Project Page Specific Styles */

/* Project Hero */
.project-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.project-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.project-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.project-status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.status-label {
    font-weight: 600;
}

.status-progress {
    width: 200px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #10b981;
    border-radius: 4px;
    transition: width 0.3s;
}

.status-text {
    font-weight: 600;
    color: #10b981;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: #f8fafc;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Architecture Section */
.architecture-section {
    padding: 80px 0;
    background: #f8fafc;
}

.architecture-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.architecture-image {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.architecture-diagram {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.architecture-features {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.architecture-features h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

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

.architecture-feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.architecture-feature-list li:hover {
    background: #f8fafc;
}

.architecture-feature-list li i {
    color: #2563eb;
    margin-right: 1rem;
    margin-top: 0.25rem;
    font-size: 1.1rem;
}

.architecture-feature-list li strong {
    color: #1f2937;
}

@media (max-width: 768px) {
    .architecture-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .architecture-features {
        padding: 2rem;
    }
}

/* Metrics Section */
.metrics-section {
    padding: 80px 0;
    background: #f8fafc;
}

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

.metric-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.metric-chart {
    margin-bottom: 1rem;
    height: 200px;
    width: 200px;
    margin: 0 auto 1rem;
    position: relative;
}

.metric-chart canvas {
    max-width: 100%;
    height: auto;
}

.metric-info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.metric-info p {
    color: #64748b;
    font-weight: 500;
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
    background: white;
}

/* Responsive Chart Styles */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .metric-chart {
        height: 180px;
        width: 180px;
    }
    
    .pricing-comparison {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .threat-comparison {
        padding: 1rem;
    }
    
    .threat-comparison canvas {
        height: 300px !important;
    }
    
    .pricing-chart canvas {
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    .metric-chart {
        height: 150px;
        width: 150px;
    }
    
    .threat-comparison canvas {
        height: 250px !important;
    }
    
    .pricing-chart canvas {
        height: 250px !important;
    }
}

/* Clickable Images */
.clickable-image {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.clickable-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dashboard-image,
.architecture-image {
    position: relative;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    pointer-events: none; /* allow clicks to pass through to image */
}

.dashboard-image:hover .image-overlay,
.architecture-image:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -10px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: grab;
}

#lightbox-image:active {
    cursor: grabbing;
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 1rem;
    max-width: 80%;
    line-height: 1.4;
}

.lightbox-controls {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.lightbox-btn i {
    margin: 0;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: -35px;
        right: 0;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
    
    .lightbox-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .lightbox-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .lightbox-caption {
        font-size: 0.9rem;
        max-width: 95%;
    }
}

.threat-comparison {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.threat-comparison canvas {
    width: 100% !important;
    height: 400px !important;
    max-height: 400px;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: #f8fafc;
}

.pricing-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pricing-chart {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 400px;
}

.pricing-chart canvas {
    width: 100% !important;
    height: 350px !important;
    max-height: 350px;
}

.feature-comparison-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.feature-comparison-table th,
.feature-comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.feature-comparison-table th {
    background: #2563eb;
    color: white;
    font-weight: 600;
}

.feature-comparison-table td {
    color: #64748b;
}

.text-green {
    color: #10b981;
}

.text-red {
    color: #ef4444;
}

.text-yellow {
    color: #f59e0b;
}

/* Specifications Section */
.specs-section {
    padding: 80px 0;
    background: white;
}

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

.spec-category {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid #2563eb;
}

.spec-category h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.spec-category ul {
    list-style: none;
}

.spec-category li {
    color: #64748b;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.spec-category li::before {
    content: '•';
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ROI Section */
.roi-section {
    padding: 80px 0;
    background: #f8fafc;
}

.roi-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.roi-inputs {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.roi-inputs h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
}

.input-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.roi-results {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.roi-results h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.savings-chart {
    margin-bottom: 2rem;
}

.savings-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.saving-item {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.saving-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.saving-item span {
    font-size: 1.5rem;
    font-weight: 800;
    color: #10b981;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Dashboard Section */
.dashboard-section {
    padding: 80px 0;
    background: white;
}

.dashboard-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-image {
    position: relative;
}

.dashboard-screenshot {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
}

.dashboard-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
}

.dashboard-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.placeholder-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.placeholder-content p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.placeholder-features {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Dashboard Mockup Styles */
.dashboard-mockup {
    background: #1a1d23;
    border-radius: 12px;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 900px;
}

.dashboard-header {
    background: #1a1d23;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2d3748;
}

.ai-filter-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.ai-filter-title i {
    color: #4299e1;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.set-token-btn, .close-btn {
    background: #4299e1;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.close-btn {
    background: #718096;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1.5rem;
}

.left-panel h3, .right-panel h3 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.status-enabled {
    background: #1a472a;
    border: 1px solid #2d7d3e;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #48bb78;
    border-radius: 50%;
}

.status-enabled small {
    color: #a0aec0;
    margin-left: auto;
}

.statistics-section {
    margin-top: 1.5rem;
}

.stats-grid {
    display: grid;
    gap: 0.5rem;
}

.stat-item {
    color: #a0aec0;
    font-size: 13px;
}

.stat-item strong {
    color: white;
}

.config-section {
    display: grid;
    gap: 1rem;
}

.provider-section label, .model-section label {
    display: block;
    color: #a0aec0;
    margin-bottom: 0.5rem;
    font-size: 13px;
}

.provider-section select, .model-section select {
    background: #2d3748;
    color: white;
    border: 1px solid #4a5568;
    border-radius: 6px;
    padding: 0.5rem;
    width: 100%;
}

.thresholds {
    display: grid;
    gap: 1rem;
}

.threshold-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a0aec0;
    font-size: 13px;
}

.threshold-value {
    color: #f6ad55;
    font-weight: 600;
}

.dashboard-features h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

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

.dashboard-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #2563eb;
}

.dashboard-feature-list i {
    color: #2563eb;
    margin-top: 0.25rem;
    font-size: 1rem;
}

.dashboard-feature-list strong {
    color: #1e293b;
}

/* Dashboard Gallery Styles */
.dashboard-gallery {
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-grid .dashboard-image {
    position: relative; min-height: 200px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid .dashboard-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-grid .dashboard-screenshot {
    width: 100%; object-fit: cover; aspect-ratio: 4/3; max-height: 300px;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-hero-title {
        font-size: 2.5rem;
    }
    
    .pricing-comparison,
    .roi-calculator,
    .dashboard-showcase {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        max-width: 400px;
    }
    
    .status-progress {
        width: 150px;
    }
    
    .project-status-bar {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .dashboard-showcase {
        gap: 2rem;
    }
}

/* Firewall Cost Comparison Section */
.cost-comparison-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.cost-comparison-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.cost-comparison-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cost-comparison-section .section-header p {
    font-size: 1.2rem;
    color: #cbd5e1;
}

/* Comparison Table */
.firewall-comparison {
    margin-bottom: 60px;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cost-table th {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.cost-table td {
    padding: 16px 15px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    font-size: 1rem;
}

.cost-table td.highlight {
    background: rgba(5, 150, 105, 0.2);
    color: #10b981;
    font-weight: 600;
}

.cost-table .total-row {
    background: rgba(15, 23, 42, 0.8);
    border-top: 2px solid #059669;
}

.cost-table .total-row td {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 20px 15px;
}

.cost-table .total-cost {
    font-size: 1.3rem;
}

.cost-table .savings-row {
    background: rgba(220, 38, 38, 0.1);
}

.cost-table .savings {
    color: #ef4444;
    font-weight: 600;
}

/* Benefits Grid */
.benefits-comparison {
    margin-bottom: 60px;
}

.benefits-comparison h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #ffffff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: rgba(30, 41, 59, 0.8);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(5, 150, 105, 0.3);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: #10b981;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.benefit-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.benefit-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* ROI Calculator */
.roi-calculator {
    background: rgba(30, 41, 59, 0.6);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(5, 150, 105, 0.3);
}

.roi-calculator h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 600;
    color: #cbd5e1;
}

.input-group input,
.input-group select {
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    font-size: 1rem;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #10b981;
}

.savings-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.saving-item {
    background: rgba(5, 150, 105, 0.1);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.saving-item h4 {
    margin: 0;
    color: #cbd5e1;
    font-size: 1rem;
}

.saving-item span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cost-table {
        font-size: 0.9rem;
    }
    
    .cost-table th,
    .cost-table td {
        padding: 12px 8px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cost-comparison-section h2 {
        font-size: 2rem;
    }
}

/* Enhanced OPNmgr Page Styling */

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.benefit-card {
    background: rgba(30, 41, 59, 0.8);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.6s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: #10b981;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.benefit-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.benefit-card p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 30px;
}

.benefit-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #10b981;
}

.stat-label {
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* Interactive Cost Chart Section */
.cost-chart-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #ffffff;
}

.chart-container {
    max-width: 1000px;
    margin: 0 auto;
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.control-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.control-group label {
    font-weight: 600;
    color: #cbd5e1;
    font-size: 1rem;
}

.control-group input[type="range"] {
    width: 200px;
    height: 8px;
    background: rgba(148, 163, 184, 0.3);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #10b981;
    border-radius: 50%;
    cursor: pointer;
}

.control-group select {
    padding: 12px 20px;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    font-size: 1rem;
}

#firewall-count-display {
    font-size: 1.2rem;
    font-weight: 700;
    color: #10b981;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.chart-wrapper {
    height: 400px;
    margin: 40px 0;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.savings-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 40px;
}

.savings-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    color: #ffffff;
}

.savings-card h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.savings-amount {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.savings-period {
    opacity: 0.8;
    font-size: 1rem;
}

.savings-breakdown {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.breakdown-label {
    color: #cbd5e1;
    font-weight: 500;
}

.breakdown-value {
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Enhanced Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(30, 41, 59, 0.8);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #10b981;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

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

.feature-card li {
    padding: 8px 0;
    color: #cbd5e1;
    position: relative;
    padding-left: 24px;
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

/* ROI Calculator Enhanced */
.roi-calculator-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.roi-calculator {
    background: rgba(30, 41, 59, 0.6);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group label {
    font-weight: 600;
    color: #cbd5e1;
    font-size: 1.1rem;
}

.input-group input,
.input-group select {
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.calculator-results .savings-summary {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.calculator-results .saving-item {
    background: rgba(16, 185, 129, 0.1);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #10b981;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calculator-results .saving-item h4 {
    margin: 0;
    color: #cbd5e1;
    font-size: 1.1rem;
}

.calculator-results .saving-item span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #10b981;
}

/* CTA Section Enhanced */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
}

.cta-stat {
    text-align: center;
}

.cta-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.cta-stat .stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.2rem;
    border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .benefits-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-controls {
        flex-direction: column;
        gap: 20px;
    }
    
    .control-group input[type="range"] {
        width: 150px;
    }
    
    .savings-summary {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .calculator-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Enhanced button visibility */
.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.cta-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

/* Feature Comparison Section */
.feature-comparison-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e293b;
}

.feature-comparison-section .section-header h2 {
    color: #1e293b;
}

.feature-comparison-section .section-header p {
    color: #64748b;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
}

.feature-comparison-table th {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #ffffff;
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.feature-comparison-table th:first-child {
    text-align: left;
    width: 25%;
}

.feature-comparison-table td {
    padding: 16px 15px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
    font-size: 1rem;
}

.feature-comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    background: #f8fafc;
}

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

.feature-yes {
    color: #059669;
    font-weight: 600;
    background: rgba(5, 150, 105, 0.1) !important;
}

.feature-limited {
    color: #d97706;
    font-weight: 600;
    background: rgba(217, 119, 6, 0.1) !important;
}

.feature-no {
    color: #dc2626;
    font-weight: 600;
    background: rgba(220, 38, 38, 0.1) !important;
}

/* Status text styling for Now Testing */
.status-text.testing {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(5, 150, 105, 0.3);
    font-weight: 700;
}

/* Feature and Cost Links Styling */
.feature-link, .cost-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
    transition: all 0.3s ease;
}

.feature-yes .feature-link {
    color: #059669;
    font-weight: 600;
}

.feature-yes .feature-link:hover {
    color: #047857;
    border-bottom-style: solid;
    text-shadow: 0 0 2px rgba(5, 150, 105, 0.3);
}

.cost-link {
    color: #10b981;
    font-weight: 600;
    border-bottom: 1px dotted #10b981;
}

.cost-link:hover {
    color: #059669;
    border-bottom-style: solid;
    text-shadow: 0 0 2px rgba(16, 185, 129, 0.3);
}

/* Enhanced feature comparison table for better readability */
.feature-comparison-table {
    min-height: 600px;
}

.feature-comparison-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.feature-comparison-table tbody tr:nth-child(even):hover {
    background: #f1f5f9;
}
