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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #578fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #578fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(87, 143, 255, 0.3);
    color: #b0b0b0;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
}

.lang-btn:hover {
    border-color: #578fff;
    color: #ffffff;
}

.lang-btn.active {
    background: #578fff;
    border-color: #578fff;
    color: #ffffff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #000000;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'JetBrains Mono', monospace;
}

.gradient-text {
    background: linear-gradient(135deg, #578fff, #7ba3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.hero-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #b0b0b0;
    font-size: 1rem;
}

.feature-item i {
    color: #578fff;
    font-size: 1.2rem;
    min-width: 20px;
}

.feature-item span {
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #578fff, #7ba3ff);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(87, 143, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #578fff;
}

.btn-secondary:hover {
    background: #578fff;
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-grid {
    position: relative;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(87, 143, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(87, 143, 255, 0.3), transparent);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
    top: 50%;
    transform: translateY(-50%);
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.grid-line.diagonal-1 {
    width: 140%;
    height: 1px;
    top: 50%;
    left: -20%;
    transform: translateY(-50%) rotate(45deg);
}

.grid-line.diagonal-2 {
    width: 140%;
    height: 1px;
    top: 50%;
    left: -20%;
    transform: translateY(-50%) rotate(-45deg);
}

.tech-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #578fff;
    border-radius: 50%;
    border: 2px solid rgba(87, 143, 255, 0.3);
}

.node-1 { top: 20%; left: 20%; }
.node-2 { top: 20%; right: 20%; }
.node-3 { bottom: 20%; left: 20%; }
.node-4 { bottom: 20%; right: 20%; }

.node-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(87, 143, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.data-flow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.data-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #578fff;
    border-radius: 50%;
    animation: dataFlow 4s linear infinite;
}

.data-particle:nth-child(1) {
    top: 30%;
    left: 30%;
    animation-delay: 0s;
}

.data-particle:nth-child(2) {
    top: 70%;
    left: 70%;
    animation-delay: 1.5s;
}

.data-particle:nth-child(3) {
    top: 50%;
    left: 50%;
    animation-delay: 3s;
}

@keyframes dataFlow {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translate(100px, -50px);
        opacity: 0;
    }
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #578fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #000000;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text p {
    color: #b0b0b0;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: rgba(87, 143, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(87, 143, 255, 0.2);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #578fff;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #b0b0b0;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(87, 143, 255, 0.1), rgba(123, 163, 255, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(87, 143, 255, 0.3);
}

.image-placeholder i {
    font-size: 4rem;
    color: #578fff;
}

/* Services Section */
.services {
    background: #000000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: #0a0a0a;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(87, 143, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(87, 143, 255, 0.05), rgba(123, 163, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(87, 143, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #578fff, #7ba3ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.01em;
}

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

/* Contact Section */
.contact {
    background: #000000;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-message {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 400;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(87, 143, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(87, 143, 255, 0.1);
    min-height: 60px;
}

.contact-item.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-item.clickable:hover {
    background: rgba(87, 143, 255, 0.1);
    border-color: rgba(87, 143, 255, 0.3);
    transform: translateY(-2px);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #578fff, #7ba3ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: #ffffff;
    font-size: 1.1rem;
}

.contact-item h4 {
    color: #ffffff;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 1rem;
}

.contact-item p {
    color: #b0b0b0;
    line-height: 1.4;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 0.75rem;
}

.form-group label {
    display: block;
    color: #b0b0b0;
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.6rem;
    background: #0a0a0a;
    border: 1px solid rgba(87, 143, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #578fff;
    box-shadow: 0 0 0 3px rgba(87, 143, 255, 0.1);
}

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

/* Footer */
.footer {
    background: #000000;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(87, 143, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
}

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 35px;
    width: auto;
}

.footer-section p {
    color: #b0b0b0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #578fff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(87, 143, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #578fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #578fff;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(87, 143, 255, 0.1);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .language-switcher {
        margin-left: 1rem;
    }

    .lang-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 3rem 30px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .hero-features {
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .feature-item {
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
        text-align: center;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-visual {
        height: 200px;
        margin-top: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-bottom: 2rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 70px;
    }

    .hero-container {
        padding: 2rem 25px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 1.8rem;
        line-height: 1.6;
    }

    .hero-visual {
        height: 180px;
        margin-top: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }

    .language-switcher {
        margin-left: 0.5rem;
    }

    .lang-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }
}

/* Smooth scrolling and animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(87, 143, 255, 0.2);
    z-index: 1001;
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(135deg, #578fff, #7ba3ff);
    width: 0%;
    transition: width 0.3s ease;
}
