/* Services Page Styles */

/* Services Hero Section */
.services-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;
}

/* Services Overview Section */
.services-overview {
    padding: 100px 0;
    background-color: rgba(10, 25, 47, 0.3);
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--yellow);
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
    opacity: 0.9;
}

/* Services Tabs */
.services-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-button {
    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;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--yellow);
    transition: left 0.3s;
    z-index: -1;
}

.tab-button:hover::before,
.tab-button.active::before {
    left: 0;
}

.tab-button:hover,
.tab-button.active {
    color: var(--black);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.service-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--yellow);
}

.service-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text);
}

.service-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-item i {
    color: var(--yellow);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.feature-item h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text);
}

.feature-item p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: var(--text);
    opacity: 0.8;
}

.tech-stack h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text);
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tech-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--yellow);
    transition: all 0.3s;
}

.tech-icon:hover {
    transform: translateY(-5px);
    background-color: rgba(244, 227, 76, 0.1);
    border-color: var(--yellow);
}

/* Service Visuals */
.service-visual {
    position: relative;
}

.code-snippet {
    background-color: rgba(10, 25, 47, 0.8);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.code-header {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
}

.code-dots {
    display: flex;
    margin-right: 15px;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.code-dots span:nth-child(1) {
    background-color: #ff5f56;
}

.code-dots span:nth-child(2) {
    background-color: #ffbd2e;
}

.code-dots span:nth-child(3) {
    background-color: #27c93f;
}

.code-title {
    color: var(--text);
    font-size: 14px;
    opacity: 0.7;
}

.code-content {
    padding: 20px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: auto;
}

.code-keyword {
    color: #569cd6;
}

.code-class {
    color: #4ec9b0;
}

.code-param {
    color: #9cdcfe;
}

.code-property {
    color: #9cdcfe;
}

.code-method {
    color: #dcdcaa;
}

/* WordPress Visual */
.wordpress-visual {
    background-color: rgba(10, 25, 47, 0.8);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.wp-dashboard {
    display: flex;
    height: 400px;
}

.wp-header {
    display: flex;
    align-items: center;
    background-color: #0073aa;
    padding: 10px 15px;
    color: white;
}

.wp-logo {
    font-size: 1.5rem;
    margin-right: 10px;
}

.wp-title {
    font-weight: 500;
}

.wp-menu {
    width: 200px;
    background-color: #23282d;
    padding: 10px 0;
}

.wp-menu-item {
    padding: 10px 15px;
    color: #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.wp-menu-item:hover,
.wp-menu-item.active {
    background-color: #0073aa;
}

.wp-content {
    flex: 1;
    padding: 20px;
    background-color: #f1f1f1;
    color: #333;
}

.wp-widget {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.widget-header {
    background-color: #f8f9f9;
    padding: 10px 15px;
    border-bottom: 1px solid #e1e1e1;
    font-weight: 500;
}

.widget-content {
    padding: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
}

.stat-value {
    font-weight: 500;
    color: #0073aa;
}

/* AI Visual */
.ai-visual {
    background-color: rgba(10, 25, 47, 0.8);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    padding: 30px;
}

.ai-network {
    position: relative;
    height: 300px;
    margin-bottom: 20px;
}

.ai-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: rgba(10, 25, 47, 0.8);
    border: 2px solid var(--yellow);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--yellow);
    z-index: 2;
}

.ai-node.central {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    font-size: 2rem;
    background-color: rgba(244, 227, 76, 0.1);
}

.ai-node:nth-child(2) {
    top: 20%;
    left: 20%;
}

.ai-node:nth-child(3) {
    top: 20%;
    right: 20%;
}

.ai-node:nth-child(4) {
    bottom: 20%;
    left: 20%;
}

.ai-node:nth-child(5) {
    bottom: 20%;
    right: 20%;
}

.ai-node:nth-child(6) {
    top: 50%;
    right: 10%;
}

.ai-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ai-connections::before,
.ai-connections::after {
    content: '';
    position: absolute;
    background-color: rgba(244, 227, 76, 0.3);
}

.ai-connections::before {
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    transform: translate(-50%, -50%);
}

.ai-connections::after {
    top: 50%;
    left: 50%;
    width: 2px;
    height: 50%;
    transform: translate(-50%, -50%);
}

.ai-description h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--yellow);
}

.ai-description p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
    opacity: 0.9;
}

/* Process Section */
.process {
    padding: 100px 0;
    background-color: rgba(2, 4, 6, 0.5);
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    height: 100%;
    width: 2px;
    background-color: rgba(244, 227, 76, 0.3);
}

.process-step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--yellow);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 30px;
    flex-shrink: 0;
    z-index: 2;
}

.step-content {
    background-color: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 8px;
    padding: 25px;
    flex-grow: 1;
}

.step-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--yellow);
}

.step-content > p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text);
}

.step-details {
    margin-top: 15px;
}

.step-details ul {
    list-style: none;
    padding-left: 0;
}

.step-details li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text);
    opacity: 0.8;
}

.step-details li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-size: 0.8rem;
}

/* Performance Impact Section */
.performance-impact {
    padding: 100px 0;
    background-color: rgba(10, 25, 47, 0.3);
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Main Chart */
.chart-container {
    background-color: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.chart-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--yellow);
}

.chart-legend {
    display: flex;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text);
}

.legend-color {
    width: 12px;
    height: 12px;
    background-color: var(--text);
    border-radius: 2px;
    margin-right: 8px;
}

.legend-color.optimized {
    background-color: var(--yellow);
}

.chart-content {
    position: relative;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#performance-chart {
    max-width: 100%;
    height: auto;
}

.chart-insight {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(244, 227, 76, 0.1);
    border-left: 3px solid var(--yellow);
    border-radius: 4px;
}

.chart-insight i {
    color: var(--yellow);
    font-size: 1.2rem;
    margin-right: 15px;
}

.chart-insight p {
    font-size: 0.95rem;
    color: var(--text);
    margin: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background-color: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--yellow);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--yellow);
    margin-bottom: 20px;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 10px;
}

.stat-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 10px;
}

.stat-description {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.8;
}

/* Comparison Section */
.comparison-section {
    margin-bottom: 60px;
}

.comparison-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    text-align: center;
    color: var(--yellow);
    margin-bottom: 40px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.comparison-item {
    background-color: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
}

.comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--yellow);
}

.comparison-chart {
    margin-bottom: 20px;
}

.chart-bar {
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
}

.bar-segment {
    height: 100%;
    transition: width 1s ease-out;
    position: relative;
}

.bar-segment.before {
    background-color: rgba(255, 255, 255, 0.3);
    width: 50%;
}

.bar-segment.after {
    background-color: var(--yellow);
    width: 0%;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.8;
}

.comparison-info h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 5px;
}

.increase {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--terminal-green);
}
/* Responsive Design */
@media (max-width: 768px) {
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: rgba(2, 4, 6, 0.5);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    border-color: var(--yellow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(244, 227, 76, 0.05);
}

.faq-question h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text);
    margin: 0;
}

.faq-question i {
    color: var(--yellow);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    opacity: 0.9;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: rgba(10, 25, 47, 0.3);
    text-align: center;
}

.cta-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--yellow);
}

.cta-subtitle {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 30px;
    border: 2px solid var(--yellow);
    color: var(--text);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    z-index: 1;
}

.cta-button.primary {
    background-color: var(--yellow);
    color: var(--black);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--yellow);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--dark-blue);
    transition: left 0.3s;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    color: var(--yellow);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(244, 227, 76, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-visual {
        order: -1;
    }
    
    .wp-dashboard {
        height: 300px;
    }
    
    .wp-menu {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 100%;
        max-width: 300px;
    }
    
    .process-timeline::before {
        left: 15px;
    }
    
    .process-step {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .step-content {
        width: 100%;
    }
    
    .process-step:not(:last-child)::after {
        left: 15px;
        transform: translateX(-50%);
        top: 110px;
        height: calc(100% - 60px);
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .tech-icons {
        justify-content: center;
    }
    
    .ai-node {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .ai-node.central {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .case-results {
        flex-direction: column;
        gap: 15px;
    }
}