/* Global Variables */
:root {
    --primary: #00e5ff;
    --primary-dark: #00b8d4;
    --secondary: #0a192f;
    --secondary-light: #112240;
    --text-main: #ccd6f6;
    --text-muted: #8892b0;
    --bg-dark: #020c1b;
    --bg-card: #0d1b2a;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Utilities */
h1,
h2,
h3,
h4 {
    font-family: 'Orbitron', sans-serif;
    color: #e6f1ff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Buttons */
.btn-primary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.btn-secondary {
    background: var(--primary);
    color: var(--bg-dark);
    border: 1px solid var(--primary);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(2, 12, 27, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-y {
    color: #fff;
}

.logo-net {
    color: var(--primary);
}

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

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links li a:not(.btn-primary):hover {
    color: var(--primary);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px;
    transition: all 0.3s ease;
}

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

.hero-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 1;
}

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

.highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Sections Global */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Services */
.services {
    padding: 100px 50px;
    background: var(--secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top: 3px solid var(--primary);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.4), inset 0 0 15px rgba(0, 229, 255, 0.05);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 100px 50px;
    background: var(--bg-dark);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1.2;
}

.about-text>p {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: justify;
}

.about-text strong {
    color: var(--text-main);
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    line-height: 1;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 350px;
}

.experience-badge {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.05) 0%, transparent 80%);
    border: 2px dashed rgba(0, 229, 255, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: spin-slow 30s linear infinite;
    position: relative;
}

.experience-badge::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 50%;
}

.experience-badge span {
    animation: spin-reverse 30s linear infinite;
}

@keyframes spin-slow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.experience-badge .years {
    font-size: 6rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.experience-badge .text {
    font-size: 1.3rem;
    color: var(--text-main);
    text-align: center;
    font-weight: 500;
    margin-top: 5px;
    letter-spacing: 2px;
}

/* Banner */
.banner {
    padding: 80px 50px;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--bg-dark) 100%);
    border-top: 1px solid rgba(0, 229, 255, 0.1);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.banner h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.banner p {
    color: var(--primary);
}

/* Works Section */
.works {
    padding: 100px 50px;
    background: var(--bg-dark);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.work-card {
    height: 300px;
    background-color: var(--secondary-light);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.1);
    transition: var(--transition);
}

.work-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: transform 0.6s ease;
    opacity: 0.8;
}

.work-card:hover .work-img {
    transform: scale(1.1);
    opacity: 1;
}

/* Subtle tech mesh pattern for work cards */
.bg-mesh {
    background-image:
        linear-gradient(rgba(13, 27, 42, 0.8), rgba(2, 12, 27, 0.95)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><path d="M0 0h40v40H0z" fill="none"/><path d="M0 20h40M20 0v40" stroke="%2300e5ff" stroke-width="0.5" opacity="0.2"/></svg>');
    background-size: cover, 40px 40px;
    background-position: center;
}

.work-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: rgba(2, 12, 27, 0.85);
    backdrop-filter: blur(5px);
    transform: translateY(45%);
    transition: var(--transition);
}

.work-card:hover .work-content {
    transform: translateY(0);
    background: rgba(2, 12, 27, 0.98);
    border-top: 1px solid var(--primary);
}

.work-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.work-content p {
    font-size: 0.95rem;
    color: var(--text-main);
    opacity: 0;
    transition: var(--transition);
    transition-delay: 0.1s;
}

.work-card:hover .work-content p {
    opacity: 1;
}

/* Process Section */
.process {
    padding: 100px 50px;
    background: var(--secondary);
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    flex: 1;
    min-width: 250px;
    position: relative;
    border: 1px solid rgba(0, 229, 255, 0.05);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step-number {
    font-size: 3rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 30px;
    font-weight: 800;
}

.step-card h3 {
    margin-top: 30px;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq {
    padding: 100px 50px;
    background: var(--secondary-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-dark);
    border-radius: 6px;
    border: 1px solid rgba(0, 229, 255, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item summary {
    padding: 20px 25px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-content {
    padding: 0 25px 25px 25px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 10px;
    animation: fadeDown 0.3s ease-in-out;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact */
.contact {
    padding: 100px 50px;
}

.contact-container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-info {
    flex: 1;
    padding: 50px;
    background: var(--secondary-light);
}

.contact-info h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-info ul li {
    margin-bottom: 15px;
    color: var(--text-main);
}

.contact-form {
    flex: 1.5;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(2, 12, 27, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    padding: 40px 50px;
    text-align: center;
    background: var(--secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Social Proof / Partners Ribbon */
.partners-ribbon {
    width: 100%;
    background-color: var(--secondary);
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    border-top: 1px solid rgba(0, 229, 255, 0.1);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.partners-track {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 40s linear infinite;
    gap: 80px;
    padding-left: 80px;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.5;
    transition: var(--transition);
    user-select: none;
    cursor: default;
    filter: grayscale(100%);
}

img.partner-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.partner-logo:hover {
    color: var(--primary);
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 0;
        background: var(--secondary-light);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .contact-container {
        flex-direction: column;
    }

    .about-container {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .experience-badge {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }

    .experience-badge .years {
        font-size: 4.5rem;
    }

    .experience-badge .text {
        font-size: 1.1rem;
    }

    .navbar {
        padding: 20px;
    }

    .hero,
    .services,
    .about,
    .contact {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Burger Animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* WhatsApp Float Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    z-index: 1000;
    transition: var(--transition);
    animation: wa-pulse 2s infinite ease-in-out;
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
    fill: #fff;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    animation: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.wa-tooltip {
    position: absolute;
    right: 80px;
    background: #fff;
    color: #0d1b2a;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: slide-in-tooltip 0.5s ease-out forwards;
    animation-delay: 5s;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

@keyframes wa-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes slide-in-tooltip {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loader-content .logo {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.loader-line {
    width: 250px;
    height: 2px;
    background: rgba(0, 229, 255, 0.2);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loader-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    width: 100px;
    height: 100%;
    background: var(--primary);
    animation: loader-sweep 1.5s infinite ease-in-out;
    box-shadow: 0 0 10px var(--primary);
}

@keyframes loader-sweep {
    0% {
        left: -100px;
    }

    100% {
        left: 250px;
    }
}

/* Contact Cyber Map */
.contact {
    position: relative;
    overflow: hidden;
}

.cyber-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 229, 255, 0.15) 2px, transparent 2px);
    background-size: 40px 40px;
    z-index: 0;
    opacity: 0.8;
}

.cyber-map-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
    background-size: 120px 120px;
}

.map-pin {
    position: absolute;
    top: 40%;
    left: 65%;
    /* Approximate position for visual aesthetic */
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pin-dot {
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
    position: relative;
    z-index: 2;
}

.pin-ring {
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: pin-pulse 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.pin-text {
    margin-top: 25px;
    color: var(--primary);
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    background: rgba(10, 25, 47, 0.9);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

@keyframes pin-pulse {
    0% {
        width: 14px;
        height: 14px;
        opacity: 1;
    }

    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
        border-width: 1px;
    }
}

.contact .section-title,
.contact .contact-container {
    position: relative;
    z-index: 2;
}