/* Why Us Page Styles */

/* Hero Section */
.why-us-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0 50px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    z-index: 1;
}

/* System Analysis Section */
.system-analysis {
    padding: 100px 0;
    background-color: rgba(10, 25, 47, 0.3);
}

.analysis-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.analysis-terminal {
    background-color: rgba(10, 25, 47, 0.8);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
}

.terminal-title {
    color: var(--text);
    font-size: 14px;
    opacity: 0.7;
    font-family: 'Share Tech Mono', monospace;
}

.terminal-body {
    padding: 20px;
    font-family: 'Share Tech Mono', monospace;
}

.scan-results {
    margin-top: 10px;
}

.scan-line {
    display: flex;
    margin-bottom: 5px;
}

.scan-prompt {
    color: var(--terminal-green);
    margin-right: 10px;
}

.scan-text {
    color: var(--text);
}

.scan-success {
    color: var(--terminal-green);
    font-weight: bold;
}

.analysis-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.result-card {
    background-color: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--yellow);
}

.result-icon {
    font-size: 2rem;
    color: var(--yellow);
    margin-bottom: 15px;
}

.result-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 10px;
}

.metric {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.metric-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--yellow);
    margin-right: 10px;
}

.metric-label {
    color: var(--text);
    font-size: 0.9rem;
}

.metric-desc {
    color: var(--text);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Behind the Code Section */
.behind-code {
    padding: 100px 0;
    background-color: rgba(2, 4, 6, 0.5);
}

.code-showcase {
    margin-top: 40px;
}

/* Code Tabs Functionality */
.code-tab-content {
    display: block;
}

.code-pane {
    display: none;
    animation: fadeIn 0.5s;
}

.code-pane.active {
    display: block;
}

.code-tab {
    padding: 12px 25px;
    background-color: transparent;
    border: 2px solid var(--yellow);
    color: var(--text);
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.code-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--yellow);
    transition: left 0.3s;
    z-index: -1;
}

.code-tab:hover::before,
.code-tab.active::before {
    left: 0;
}

.code-tab:hover,
.code-tab.active {
    color: var(--black);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.code-container {
    background-color: rgba(10, 25, 47, 0.8);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.code-title {
    color: var(--text);
    font-size: 14px;
    font-family: 'Share Tech Mono', monospace;
}

.code-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.code-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.metric {
    font-size: 0.8rem;
    color: var(--text);
    opacity: 0.8;
}

.metric-value {
    color: var(--terminal-green);
    font-weight: bold;
}

.code-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.code-body pre {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    color: var(--terminal-green);
    line-height: 1.5;
}

/* Problem-Solution Matrix Section */
.problem-solution {
    padding: 100px 0;
    background-color: rgba(10, 25, 47, 0.3);
}

.matrix-container {
    background-color: rgba(2, 4, 6, 0.5);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.matrix-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
}

.matrix-corner {
    width: 20px;
    height: 20px;
    background-color: var(--yellow);
    border-radius: 50%;
}

.matrix-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--text);
}

.matrix-body {
    padding: 20px;
}

.matrix-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.matrix-problem {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    position: relative;
}

.problem-icon {
    font-size: 2rem;
    color: #ff5252;
    margin-bottom: 15px;
    text-align: center;
}

.problem h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 10px;
}

.problem p {
    color: var(--text);
    opacity: 0.8;
    font-size: 0.9rem;
}

.matrix-solution {
    background-color: rgba(0, 128, 0, 0.1);
    border: 1px solid rgba(0, 200, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    position: relative;
}

.solution-icon {
    font-size: 2rem;
    color: var(--terminal-green);
    margin-bottom: 15px;
    text-align: center;
}

.solution h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 10px;
}

.solution p {
    color: var(--text);
    opacity: 0.8;
    font-size: 0.9rem;
}

.solution-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.metric {
    font-size: 0.8rem;
    color: var(--terminal-green);
    font-weight: bold;
}

/* SEO & Security Section */
.seo-security {
    padding: 100px 0;
    background-color: rgba(10, 25, 47, 0.3);
}

.seo-security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-column {
    display: flex;
    flex-direction: column;
}

.feature-card {
    background-color: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--yellow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--yellow);
    margin-bottom: 20px;
    text-align: center;
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-details {
    margin-bottom: 20px;
}

.feature-details ul {
    list-style: none;
    padding-left: 0;
}

.feature-details li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text);
    opacity: 0.8;
}

.feature-details li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-size: 0.8rem;
}

.feature-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-metric .metric-label {
    color: var(--text);
    font-size: 0.9rem;
}

.feature-metric .metric-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--yellow);
}

/* Responsive Design */
@media (max-width: 992px) {
    .analysis-container {
        grid-template-columns: 1fr;
    }
    
    .seo-security-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .code-tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .code-tab {
        width: 100%;
        max-width: 300px;
    }
    
    .matrix-row {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        height: auto;
    }
}
/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: rgba(2, 4, 6, 0.5);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text);
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background-color: var(--yellow);
    color: var(--black);
}

.cta-button.primary:hover {
    background-color: #ffcc00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(244, 227, 76, 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--text);
    border: 2px solid var(--yellow);
}

.cta-button.secondary:hover {
    background-color: var(--yellow);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(244, 227, 76, 0.3);
}

/* Responsive Design for CTA Section */
@media (max-width: 768px) {
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}