/* home.css - Home Page Specific Styles */

/* Digital Net Animation */
.digital-net {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.net-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(142, 68, 173, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(142, 68, 173, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(40px) translateX(40px); }
}

.net-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--neon-purple);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-purple);
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.5); opacity: 1; }
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-bg);
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.3) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(to right, var(--white) 30%, var(--neon-purple) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
}

.tagline {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tagline span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.tagline span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--off-white);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Preview */
.services-preview {
    padding: 100px 0;
    background: var(--dark-gray);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.preview-card {
    background: var(--gradient-card);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid rgba(142, 68, 173, 0.2);
    transition: var(--transition);
}

.preview-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-purple);
    box-shadow: var(--shadow-hover);
}

.preview-icon {
    width: 80px;
    height: 80px;
    background: rgba(142, 68, 173, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--neon-purple);
    font-size: 2rem;
}

.preview-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--white);
}

.preview-card p {
    color: var(--light-purple);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.preview-link {
    color: var(--neon-purple);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.preview-link:hover {
    gap: 10px;
    color: var(--cyber-purple);
}

/* Why Choose Us */
.why-choose {
    padding: 100px 0;
    background: var(--black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature {
    text-align: center;
    padding: 30px;
    background: var(--gradient-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(142, 68, 173, 0.2);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--neon-purple);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(142, 68, 173, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--neon-purple);
    font-size: 1.8rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.feature p {
    color: var(--light-purple);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-bg);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--white);
    font-family: 'Orbitron', sans-serif;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--off-white);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(142, 68, 173, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-purple);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--neon-purple);
    color: white;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.3rem;
        gap: 10px;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-buttons, .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn, .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-intro {
        font-size: 1rem;
    }
    
    .preview-grid, .features-grid {
        grid-template-columns: 1fr;
    }
}