/* Business Solutions Builder Page Styles */

.business-hero {
    background: var(--navy);
    min-height: 100vh;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

.code-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
        url('../../images/services/business-bg.jpg');
    background-size: cover;
    background-position: center;
    animation: pulseBackground 10s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    justify-content: space-between;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-typing {
    display: inline-block;
    color: var(--gold);
    position: relative;
    min-width: 200px;
}

.text-typing::after {
    content: '|';
    position: absolute;
    right: -8px;
    animation: blink 0.7s infinite;
}

.tech-stack {
    position: relative;
    z-index: 3;
    min-height: 120px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

.tech-icon {
    text-align: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 120px;
}

.tech-icon:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.tech-icon i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
    display: block;
}

.tech-icon span {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

.hero-badge {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.code-editor {
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    opacity: 0.95;
    backdrop-filter: blur(10px);
}

.code-editor-header {
    background: #2d2d2d;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #3d3d3d;
}

.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.file-name {
    color: #abb2bf;
    margin-left: 20px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
}

.code-content {
    padding: 1.5rem;
    max-height: 500px;
    overflow-y: auto;
}

.code-content pre {
    margin: 0;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-content code {
    color: #abb2bf;
}

/* TypeScript syntax highlighting */
.code-content .keyword { color: #c678dd; }
.code-content .string { color: #98c379; }
.code-content .comment { color: #5c6370; }
.code-content .function { color: #61afef; }
.code-content .class { color: #e5c07b; }
.code-content .type { color: #56b6c2; }

@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tech-icon {
        padding: 1rem;
        min-width: calc(50% - 1rem);
    }
    
    .tech-icon i {
        font-size: 2rem;
    }
    
    .code-editor {
        margin-top: 3rem;
    }
    
    .code-content {
        max-height: 400px;
    }
}