/* Home Page Specific Styles */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
}

/* Terminal Window */
.terminal-window {
    background: rgba(15, 20, 25, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.terminal-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-secondary);
}

.terminal-button:nth-child(1) { background: #ff5f56; }
.terminal-button:nth-child(2) { background: #ffbd2e; }
.terminal-button:nth-child(3) { background: #27c93f; }

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.terminal-line {
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.5s; }
.terminal-line:nth-child(2) { animation-delay: 1.5s; }
.terminal-line:nth-child(3) { animation-delay: 2.5s; }

.prompt {
    color: var(--terminal-green);
    margin-right: 0.5rem;
}

.success {
    color: var(--accent-cyan);
    margin-right: 0.5rem;
}

.typing-text {
    color: var(--text-primary);
    border-right: 2px solid var(--terminal-green);
    animation: blink 0.7s infinite;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes blink {
    0%, 50% { border-color: var(--terminal-green); }
    51%, 100% { border-color: transparent; }
}

/* Hero Title */
.hero-title {
    margin-bottom: 1.5rem;
    animation: slideUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    animation: slideUp 1s 0.2s ease-out backwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: slideUp 1s 0.4s ease-out backwards;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 1s 0.6s ease-out backwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--terminal-green);
    font-family: var(--font-mono);
}

.stat-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--terminal-green);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--terminal-green);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* Services Preview Section */
.services-preview {
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Why Us Section */
.why-us {
    padding: var(--spacing-xl) 0;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: var(--terminal-green);
    box-shadow: 0 8px 32px rgba(0, 255, 65, 0.15);
}

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

.feature-item h3 {
    margin-bottom: 1rem;
    color: var(--terminal-green);
}

.feature-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(0, 217, 255, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem 2rem;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 1rem 2rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}
