/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Canvas */
#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 50%, #0a0a0a 100%);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 150, 0.2);
    box-shadow: 0 2px 20px rgba(0, 255, 150, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff96;
    text-shadow: 0 0 10px rgba(0, 255, 150, 0.5);
}

.nav-brand .logo i {
    margin-right: 10px;
    font-size: 2rem;
    color: #00d4ff;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #c0c0c0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
}

.nav-links a:hover {
    color: #00ff96;
    background: rgba(0, 255, 150, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 150, 0.3);
    text-shadow: 0 0 8px rgba(0, 255, 150, 0.5);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #c0c0c0;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.2);
}

.social-icon:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 30px 50px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #00ff96, #00d4ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

.subtitle {
    display: block;
    color: #c0c0c0;
    font-size: 2.5rem;
    margin-top: 10px;
    text-shadow: 0 0 20px rgba(192, 192, 192, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, #00ff96, #00d4ff);
    color: #000;
    box-shadow: 0 5px 20px rgba(0, 255, 150, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 150, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #c0c0c0;
    box-shadow: 0 5px 20px rgba(192, 192, 192, 0.2);
}

.btn-secondary:hover {
    background: rgba(192, 192, 192, 0.1);
    border-color: #00d4ff;
    color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    transform: translateY(-3px);
}

/* Neural Network Visualization */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.neural-network {
    position: relative;
    width: 400px;
    height: 300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, #00ff96, #00d4ff);
    box-shadow: 0 0 30px rgba(0, 255, 150, 0.6), inset 0 0 20px rgba(0, 212, 255, 0.3);
    animation: node-pulse 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #00ff96, #00d4ff);
    box-shadow: 0 0 10px rgba(0, 255, 150, 0.5);
    animation: connection-flow 2s linear infinite;
    z-index: 1;
}

.connection:nth-child(6) {
    width: 150px;
    top: 50%;
    left: 20%;
    transform: rotate(30deg);
}

.connection:nth-child(7) {
    width: 120px;
    top: 30%;
    left: 40%;
    transform: rotate(-45deg);
}

.connection:nth-child(8) {
    width: 100px;
    top: 70%;
    left: 30%;
    transform: rotate(15deg);
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff, #00ff96);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

/* Services Section */
.services {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.9), rgba(26, 26, 46, 0.9));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 150, 0.2);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 150, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00ff96;
    box-shadow: 0 20px 40px rgba(0, 255, 150, 0.2);
    background: rgba(0, 255, 150, 0.08);
}

.service-icon {
    font-size: 3rem;
    color: #00d4ff;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.5));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Industries Section */
.industries {
    background: rgba(22, 33, 62, 0.3);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.industry-card {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(192, 192, 192, 0.3);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.industry-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.industry-card:hover::after {
    width: 300px;
    height: 300px;
}

.industry-card:hover {
    transform: scale(1.05);
    border-color: #00d4ff;
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.3);
}

.industry-icon {
    font-size: 4rem;
    color: #c0c0c0;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.industry-card:hover .industry-icon {
    color: #00d4ff;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
    transform: scale(1.1);
}

.industry-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffffff;
    z-index: 2;
    position: relative;
}

.industry-card p {
    color: #b0b0b0;
    font-size: 1.1rem;
    z-index: 2;
    position: relative;
}

/* Technology Section */
.technology {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.9), rgba(26, 26, 46, 0.9));
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 150, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    background: rgba(0, 255, 150, 0.08);
    border-color: #00ff96;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 150, 0.2);
}

.tech-icon {
    font-size: 3rem;
    color: #00ff96;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 150, 0.5));
}

.tech-item span {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Stats Section */
.stats {
    background: rgba(0, 0, 0, 0.5);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 4rem;
    font-weight: bold;
    color: #00ff96;
    text-shadow: 0 0 20px rgba(0, 255, 150, 0.5);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    color: #c0c0c0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, rgba(22, 33, 62, 0.4), rgba(10, 10, 10, 0.9));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: #00d4ff;
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.contact-icon {
    font-size: 2rem;
    color: #00d4ff;
    min-width: 50px;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.contact-details h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.contact-details p {
    color: #b0b0b0;
    font-size: 1.1rem;
}

.contact-form {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 150, 0.2);
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(192, 192, 192, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff96;
    background: rgba(0, 255, 150, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 150, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: #ffffff;
}

.form-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 255, 150, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #00ff96;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 150, 0.5);
}

.footer-brand .logo i {
    margin-right: 15px;
    font-size: 2.2rem;
    color: #00d4ff;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

.footer-brand p {
    color: #b0b0b0;
    font-size: 1.1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: #b0b0b0;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.footer-column a:hover {
    color: #00ff96;
    text-shadow: 0 0 8px rgba(0, 255, 150, 0.5);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(192, 192, 192, 0.2);
}

.footer-bottom p {
    color: #888;
}

/* Animations */
@keyframes glow-pulse {
    0% { filter: drop-shadow(0 0 5px rgba(0, 255, 150, 0.5)); }
    100% { filter: drop-shadow(0 0 20px rgba(0, 255, 150, 0.8)); }
}

@keyframes node-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes connection-flow {
    0% { opacity: 0.3; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0.3; transform: scaleX(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero {
        padding: 150px 20px 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .neural-network {
        width: 300px;
        height: 200px;
    }
    
    .node {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form {
        padding: 25px;
    }
}