/* Managed Defense Page - Shield Green/Gold Theme */
/* Based on penetration-testing-v2.css structure */

/* --- COLOR THEME: SHIELD GREEN --- */
:root {
    --accent-primary: #00b894; /* Cyber Green */
    --accent-secondary: #f1c40f; /* Warning Gold */
    --accent-alert: #ff6b6b;
    --text-highlight: #e6f1ff;
}

/* --- HERO STATUS BAR --- */
.status-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Mobile Responsive Fixes for Status Bar */
@media (max-width: 768px) {
    .status-bar {
        justify-content: flex-start;
        gap: 0.5rem;
    }
    .status-pill {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 184, 148, 0.15);
    background: rgba(10, 25, 47, 0.6);
    border-radius: 4px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    color: #8892b0;
    letter-spacing: 0.05em;
    backdrop-filter: blur(5px);
}

.status-pill .status-icon {
    color: var(--accent-primary);
}

.status-pill.active-pulse {
    border-color: rgba(0, 184, 148, 0.3);
    background: rgba(0, 184, 148, 0.05);
    color: var(--accent-primary);
}

.status-pill .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% { opacity: 0.5; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 15px var(--accent-primary); }
    100% { opacity: 0.5; transform: scale(0.8); }
}

/* --- HERO ELEMENTS --- */
/* Hero Actions spacing */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Hero Meta Chips */
.hero-meta {
    display: flex;
    gap: 0.75rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #8892b0;
    background: rgba(0, 184, 148, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(0, 184, 148, 0.1);
}
.meta-chip i { color: var(--accent-primary); }

/* Hero Metrics */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 184, 148, 0.1);
}

.metric-chip {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8892b0;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-highlight);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.metric-subtext {
    font-size: 0.85rem;
    color: #8892b0;
    opacity: 0.8;
}

/* --- HERO RADAR VISUAL --- */
.hero-visual {
    position: relative;
    perspective: 1000px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.cyber-panel {
    background: rgba(10, 25, 47, 0.4);
    border: 1px solid rgba(0, 184, 148, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 30px 70px rgba(0,0,0,0.5);
    transform: rotateY(-5deg);
    transition: transform 0.5s ease;
    width: 100%;
    max-width: 450px;
}

.cyber-panel:hover {
    transform: rotateY(0deg);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(0, 184, 148, 0.15);
    padding-bottom: 0.75rem;
}

.panel-status {
    color: var(--accent-primary);
    animation: textBlink 2s infinite;
}

@keyframes textBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* --- SHIELD VISUAL (Managed Defense) --- */
.shield-container {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-core {
    width: 60px;
    height: 60px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #0a192f;
    box-shadow: 0 0 20px var(--accent-primary);
    z-index: 10;
    animation: coreHeartbeat 2s infinite;
}

@keyframes coreHeartbeat {
    0% { transform: scale(1); box-shadow: 0 0 20px var(--accent-primary); }
    50% { transform: scale(1.1); box-shadow: 0 0 40px var(--accent-primary); }
    100% { transform: scale(1); box-shadow: 0 0 20px var(--accent-primary); }
}

.shield-wave {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--accent-primary);
    opacity: 0;
    animation: wavePulse 3s infinite ease-out;
}

.wave-1 { width: 60px; height: 60px; animation-delay: 0s; }
.wave-2 { width: 60px; height: 60px; animation-delay: 1s; }
.wave-3 { width: 60px; height: 60px; animation-delay: 2s; }

@keyframes wavePulse {
    0% { transform: scale(1); opacity: 0.8; border-width: 2px; }
    100% { transform: scale(5); opacity: 0; border-width: 0px; }
}

.shield-orbit {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px dashed rgba(0, 184, 148, 0.3);
    border-radius: 50%;
    animation: orbitSpin 6s linear infinite;
}

.orbit-dot {
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-secondary);
}

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.panel-footer {
    margin-top: 1rem;
    background: rgba(2, 12, 27, 0.6);
    border-radius: 6px;
    padding: 0.75rem;
    border: 1px solid rgba(0, 184, 148, 0.15);
}

.log-terminal {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    height: 3.5em;
    overflow: hidden;
}

.log-line { display: flex; gap: 0.5rem; }
.log-time { color: #8892b0; opacity: 0.7; }
.log-info { color: var(--text-highlight); }
.log-success { color: var(--accent-primary); }

/* --- TRUST STRIP --- */
.trust-strip {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(0, 184, 148, 0.1);
    background: rgba(2, 12, 27, 0.3);
}

.trust-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.trust-col {
    background: rgba(17, 34, 64, 0.4);
    border: 1px solid rgba(0, 184, 148, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
}

.trust-label {
    font-size: 0.8rem; 
    color: var(--accent-secondary); 
    margin-bottom: 1rem; 
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-strip, .tech-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-chip, .tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #ccd6f6;
}
.logo-chip i, .tech-chip i { color: var(--accent-primary); }

/* --- GAP & SOLUTION --- */
.gap-solution {
    margin-bottom: 4rem;
}

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

.gap-panel {
    background: linear-gradient(180deg, rgba(0, 184, 148, 0.08) 0%, rgba(10, 25, 47, 0.8) 100%);
    border: 1px solid rgba(0, 184, 148, 0.25);
    border-radius: 12px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solution-panel {
    background: rgba(2, 12, 27, 0.9);
    border: 1px solid rgba(0, 184, 148, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gap-heading, .solution-heading {
    font-size: 1.5rem;
    margin: 1rem 0;
    line-height: 1.3;
    color: var(--text-highlight);
}

.gap-text { color: #8892b0; margin-bottom: 2rem; }
.solution-text { color: #8892b0; margin-bottom: 2rem; }

.gap-stats {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 184, 148, 0.15);
}

.gap-stat { text-align: center; }
.gap-stat .label { display: block; font-size: 0.75rem; color: #ff6b6b; margin-bottom: 0.25rem; text-transform: uppercase; }
.gap-stat .value { font-size: 1.2rem; font-weight: 700; color: var(--text-highlight); }

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.solution-card {
    background: rgba(2, 12, 27, 0.5);
    border: 1px solid rgba(0, 184, 148, 0.15);
    padding: 1rem;
    border-radius: 8px;
}

.solution-card h4 {
    font-size: 0.95rem;
    color: var(--text-highlight);
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.solution-card h4 i { color: var(--accent-primary); }
.solution-card p { font-size: 0.85rem; color: #8892b0; margin: 0; line-height: 1.4; }

/* --- ARSENAL CARDS --- */
#services {
    padding-top: 8rem;
    margin-top: 4rem;
}

.arsenal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    column-gap: 2rem;
    row-gap: 6rem;
    padding-bottom: 2rem;
}

.arsenal-card {
    min-height: 400px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    background: #0a192f;
    z-index: 1;
    position: relative;
    border-color: rgba(0, 184, 148, 0.15);
}

.arsenal-card:hover {
    border-color: var(--accent-primary);
}

.card-icon {
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 184, 148, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(0, 184, 148, 0.1);
}

.arsenal-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-highlight);
}

.arsenal-card p {
    flex-grow: 1;
    color: #8892b0;
}

.service-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-stat { display: flex; flex-direction: column; }
.service-stat .label { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: #8892b0; text-transform: uppercase; }
.service-stat .value { font-weight: 700; color: var(--accent-primary); font-size: 1.1rem; margin-top: 0.25rem; }

.command-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-secondary);
    letter-spacing: 1px;
    padding-top: 0.5rem;
}

/* --- PROCESS STEPS --- */
#process {
    margin-top: 6rem;
}

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

.process-step {
    background: rgba(17, 34, 64, 0.4);
    border: 1px solid rgba(0, 184, 148, 0.15);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--accent-secondary);
}

.process-step::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    opacity: 0.5;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 0.8;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.process-step h4 {
    font-size: 1.25rem;
    color: var(--text-highlight);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.process-step p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: #8892b0;
}

.deliverable-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1rem;
    border-radius: 100px;
    background: rgba(0, 184, 148, 0.08);
    border: 1px solid rgba(0, 184, 148, 0.2);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-highlight);
    align-self: flex-start;
}

/* --- FAQ SECTION --- */
#faq {
    margin-top: 6rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
}

.accordion-item {
    border: 1px solid rgba(0, 184, 148, 0.15);
    background: rgba(10, 25, 47, 0.7);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.accordion-item:hover {
    border-color: var(--accent-primary);
    background: rgba(17, 34, 64, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.accordion-item.active {
    background: rgba(17, 34, 64, 0.9);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: var(--text-highlight);
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #8892b0;
}

.accordion-content p { 
    padding: 0 2rem 2rem 2rem;
    margin: 0;
    line-height: 1.7;
}

.accordion-icon { 
    transition: transform 0.3s; 
    color: var(--accent-primary); 
    opacity: 0.7;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 184, 148, 0.2);
    border-radius: 50%;
}

.accordion-item.active .accordion-icon { 
    transform: rotate(180deg); 
    opacity: 1; 
    background: rgba(0, 184, 148, 0.1);
}
.accordion-item.active .accordion-content { max-height: 500px; }

/* --- CTA PANEL --- */
.cta-panel {
    position: relative;
    background: linear-gradient(120deg, rgba(17, 34, 64, 0.9), rgba(2, 12, 27, 0.95));
    border: 1px solid var(--accent-primary);
    border-radius: 16px;
    padding: 5rem 2rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 184, 148, 0.1);
}

.cta-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 184, 148, 0.1), transparent 60%);
    pointer-events: none;
}

.cta-panel .ultra-h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #8892b0;
}

/* --- TEXT HIGHLIGHT --- */
.highlight-text {
    color: var(--text-highlight);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--accent-primary);
    opacity: 0.15;
    transform: skewX(-10deg);
    z-index: -1;
}

/* --- RESPONSIVE OVERRIDES --- */
@media (max-width: 992px) {
    .gap-grid { grid-template-columns: 1fr; }
    .trust-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .faq-grid { grid-template-columns: 1fr; }
    .accordion-header { padding: 1.25rem 1.5rem; font-size: 1rem; }
    .accordion-content p { padding: 0 1.5rem 1.5rem 1.5rem; }
}
