/* Services Pages Styles */

/* Service Main Layout */
.service-main {
    min-height: 100vh;
    padding: 6rem 0 2rem;
    position: relative;
    z-index: 10;
}

/* Service Hero Section */
.service-hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.service-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    color: var(--matrix-green);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.service-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Service Sections */
.service-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--matrix-green);
    margin-bottom: 2rem;
    text-align: center;
}

/* Service Cards */
.service-card {
    background: rgba(0, 20, 0, 0.8);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    --webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--matrix-green), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

.service-item {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 65, 0.2);
}

.service-item-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
}

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

.service-list li {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.service-list li::before {
    content: '•';
    color: var(--matrix-green);
    position: absolute;
    left: 0;
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--matrix-green);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--gray-300);
    font-size: 0.875rem;
}

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

.tool-category {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 65, 0.2);
}

.tool-category-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tool-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.tool-tag:hover {
    border-color: var(--matrix-green);
    background: rgba(0, 255, 65, 0.1);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 65, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--matrix-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.pricing-card.featured {
    border-color: var(--matrix-green);
    background: rgba(0, 255, 65, 0.05);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--matrix-green);
    color: #000;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--matrix-green);
    margin-bottom: 1.5rem;
}

.pricing-period {
    font-size: 1rem;
    color: var(--gray-300);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    color: var(--gray-300);
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    color: var(--matrix-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.pricing-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--matrix-green), var(--cyber-blue));
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 65, 0.3);
}

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

.feature-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--matrix-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 65, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--gray-300);
    line-height: 1.6;
}

/* Dashboard Preview */
.dashboard-preview {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 65, 0.3);
}

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

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

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-value.uptime {
    color: var(--matrix-green);
}

.stat-value.threats {
    color: #ef4444;
}

.stat-value.vulnerabilities {
    color: #f59e0b;
}

.stat-value.events {
    color: #3b82f6;
}

.stat-label {
    color: var(--gray-300);
    font-size: 0.875rem;
}

/* Demo Section */
.demo-section {
    margin-top: 2rem;
}

.demo-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--matrix-green);
    margin-bottom: 1rem;
}

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

.threat-feed {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.threat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 4px;
    font-size: 0.875rem;
}

.threat-severity {
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
}

.threat-severity.high {
    background: #ef4444;
    color: white;
}

.threat-severity.medium {
    background: #f59e0b;
    color: white;
}

.threat-severity.low {
    background: #10b981;
    color: white;
}

.network-map {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.network-node {
    font-size: 2rem;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.network-node.active {
    background: rgba(0, 255, 65, 0.2);
    border: 1px solid var(--matrix-green);
}

.network-node.warning {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid #f59e0b;
}

.network-node.secure {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid #3b82f6;
}

.network-node.monitoring {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid #a855f7;
}

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

.capability-item {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 65, 0.2);
}

.capability-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--matrix-green);
    margin-bottom: 1rem;
}

.capability-description {
    color: var(--gray-300);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.capability-features {
    list-style: none;
    padding: 0;
}

.capability-features li {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.capability-features li::before {
    content: '→';
    color: var(--matrix-green);
    position: absolute;
    left: 0;
}

/* Agents Specific Styles */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.agent-type-card {
    background: rgba(0, 20, 0, 0.8);
    border: 2px solid rgba(0, 255, 65, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    --webkit-backdrop-filter: blur(10px);
}

.agent-type-card.red-team {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(20, 0, 0, 0.8);
}

.agent-type-card.blue-team {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(0, 0, 20, 0.8);
}

.agent-type-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.agent-type-title:has-text("Red Team") {
    color: #ef4444;
}

.agent-type-title:has-text("Blue Team") {
    color: #3b82f6;
}

.agent-type-description {
    color: var(--gray-300);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.specializations-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
}

.specializations-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.specializations-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-300);
    margin-bottom: 0.75rem;
}

.spec-icon {
    font-size: 1rem;
}

.agent-hire-btn {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.red-team-btn {
    background: #ef4444;
    color: white;
}

.red-team-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.blue-team-btn {
    background: #3b82f6;
    color: white;
}

.blue-team-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Agent Profiles */
.agents-profiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.agent-profile {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.agent-profile:hover {
    border-color: var(--matrix-green);
    transform: translateY(-5px);
}

.agent-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.agent-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.agent-role {
    color: var(--matrix-green);
    font-weight: 500;
    margin-bottom: 1rem;
}

.agent-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.specialty-tag {
    padding: 0.25rem 0.5rem;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--matrix-green);
}

.agent-experience {
    color: var(--gray-300);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.agent-rating {
    margin-bottom: 1rem;
}

.star {
    color: #fbbf24;
    font-size: 1.25rem;
}

.agent-hire {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--matrix-green);
    color: #000;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.agent-hire:hover {
    background: #00cc33;
    transform: translateY(-2px);
}

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

.engagement-card {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 65, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.engagement-card:hover {
    border-color: var(--matrix-green);
    transform: translateY(-5px);
}

.engagement-card.featured {
    border-color: var(--matrix-green);
    background: rgba(0, 255, 65, 0.05);
}

.engagement-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--matrix-green);
    color: #000;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.engagement-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
}

.engagement-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--matrix-green);
    margin-bottom: 1.5rem;
}

.engagement-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.engagement-features li {
    color: var(--gray-300);
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
}

.engagement-features li::before {
    content: '✓';
    color: var(--matrix-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.engagement-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--matrix-green), var(--cyber-blue));
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.engagement-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 65, 0.3);
}

/* Agent Selector */
.agent-selector {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 2rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--matrix-green);
    font-weight: 500;
    font-size: 0.875rem;
}

.selector-input {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 6px;
    color: #ffffff;
    font-size: 1rem;
}

.selector-input:focus {
    outline: none;
    border-color: var(--matrix-green);
    box-shadow: 0 0 0 2px rgba(0, 255, 65, 0.1);
}

.selector-btn {
    grid-column: 1 / -1;
    padding: 1rem 2rem;
    background: var(--matrix-green);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.selector-btn:hover {
    background: #00cc33;
    transform: translateY(-2px);
}

.selector-results {
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: rgba(0, 20, 0, 0.8);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 16px;
    padding: 3rem 2rem;
}

.cta-title {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-description {
    color: var(--gray-300);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--matrix-green), var(--cyber-blue));
    color: #000;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 65, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--matrix-green);
    border: 2px solid var(--matrix-green);
}

.cta-button.secondary:hover {
    background: var(--matrix-green);
    color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-main {
        padding: 5rem 1rem 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-grid,
    .process-grid,
    .tools-grid,
    .features-grid,
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid,
    .agents-grid,
    .engagement-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .demo-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .selector-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-title {
        font-size: 2rem;
    }
    
    .service-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .network-map {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-section {
    animation: fadeInUp 0.6s ease forwards;
}

.service-section:nth-child(2) { animation-delay: 0.1s; }
.service-section:nth-child(3) { animation-delay: 0.2s; }
.service-section:nth-child(4) { animation-delay: 0.3s; }

/* Accessibility */
.pricing-btn:focus-visible,
.agent-hire-btn:focus-visible,
.engagement-btn:focus-visible,
.cta-button:focus-visible,
.selector-btn:focus-visible {
    outline: 2px solid var(--matrix-green);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .service-card,
    .feature-card,
    .pricing-card,
    .agent-type-card {
        border-width: 2px;
        background: rgba(0, 0, 0, 0.95);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .service-card::before {
        animation: none;
    }
    
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}