/* ==================================================
   NEURAVIOS — FINAL CLEAN V1
================================================== */


/* ==================================================
   GLOBAL RESET
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: #050816;
    color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ==================================================
   NAVBAR
================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 8, 22, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 9999;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    color: #00c6ff;
}

#navMenu {
    display: flex;
    align-items: center;
    gap: 35px;
}

#navMenu a {
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

#navMenu a:hover {
    color: #00c6ff;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #00c6ff;
    font-size: 32px;
    cursor: pointer;
}


/* ==================================================
   COMMON SECTION STYLES
================================================== */

section {
    padding: 100px 8%;
}

.title {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
}

.subtitle {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
    color: #9fb2c9;
    font-size: 19px;
    line-height: 1.8;
}


/* ==================================================
   HERO
================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 20px 80px;
}

.badge {
    display: inline-block;
    padding: 12px 28px;
    margin-bottom: 30px;
    border: 2px solid #00c6ff;
    border-radius: 50px;
    color: #00c6ff;
    font-weight: 500;
}

.hero h1 {
    max-width: 950px;
    font-size: 72px;
    font-weight: 800;
    line-height: 1.15;
}

.hero h1 span {
    display: block;
    color: #00c6ff;
}

.hero p {
    max-width: 900px;
    margin-top: 25px;
    color: #b9c4d8;
    font-size: 21px;
    line-height: 1.8;
}

.buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}


/* ==================================================
   BUTTONS
================================================== */

.btn {
    display: inline-block;
    padding: 15px 38px;
    border: 2px solid #00c6ff;
    border-radius: 50px;
    background: #00c6ff;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 198, 255, 0.2);
}

.btn.outline,
.outline {
    background: transparent;
}


/* ==================================================
   SERVICES
================================================== */

#services {
    padding-top: 100px;
    padding-bottom: 100px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.card {
    min-height: 260px;
    padding: 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: #00c6ff;
    box-shadow: 0 15px 35px rgba(0, 198, 255, 0.15);
}

.icon {
    font-size: 42px;
    line-height: 1;
}

.card h3 {
    margin: 22px 0 15px;
    font-size: 24px;
    line-height: 1.35;
}

.card p {
    color: #b8c5d6;
    font-size: 16px;
    line-height: 1.8;
}


/* ==================================================
   ABOUT
================================================== */

.about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
}

.about-content .title {
    text-align: left;
}

.about-content .subtitle {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 25px;
    text-align: left;
}

.about-text {
    margin-bottom: 35px;
    color: #b8c5d6;
    font-size: 17px;
    line-height: 1.9;
}

.about-image {
    display: grid;
    gap: 22px;
}

.about-box {
    padding: 28px;
    background: #141925;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.about-box:hover {
    transform: translateY(-6px);
    border-color: #00c6ff;
    box-shadow: 0 15px 35px rgba(0, 198, 255, 0.12);
}

.about-box h3 {
    margin-bottom: 10px;
    font-size: 23px;
}

.about-box p {
    color: #aab3c8;
    font-size: 16px;
    line-height: 1.7;
}


/* ==================================================
   PORTFOLIO
================================================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.project-card {
    padding: 35px;
    background: #161b29;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #00c6ff;
    box-shadow: 0 15px 35px rgba(0, 198, 255, 0.12);
}

.project-image {
    margin-bottom: 20px;
    font-size: 48px;
}

.project-card h3 {
    margin-bottom: 15px;
    font-size: 27px;
}

.project-card p {
    color: #b9bfd3;
    font-size: 17px;
    line-height: 1.7;
}


/* ==================================================
   FAQ
================================================== */

.faq-box {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    padding: 24px;
    margin-bottom: 20px;
    background: #151924;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item:hover {
    transform: translateY(-4px);
    border-color: #18c5ff;
}

.faq-item h3 {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.4;
}

.faq-item p {
    color: #b7bfd3;
    font-size: 16px;
    line-height: 1.8;
}


/* ==================================================
   CONTACT
================================================== */

.contact {
    text-align: center;
}

.contact-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 45px;
    background: #161b29;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
}

.contact-box h3 {
    margin-bottom: 15px;
    font-size: 34px;
}

.contact-box p {
    margin-bottom: 10px;
    color: #b9bfd3;
    font-size: 18px;
    line-height: 1.8;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}


/* ==================================================
   FOOTER
================================================== */

footer {
    padding: 35px 20px;
    text-align: center;
    color: #8ca2bc;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 992px) {

    .hero h1 {
        font-size: 58px;
    }

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

    .about {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-content .title,
    .about-content .subtitle {
        text-align: center;
    }

    .about-content .subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .about-content {
        text-align: center;
    }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

    html {
        scroll-padding-top: 80px;
    }


    /* NAVBAR */

    .navbar {
        padding: 18px 20px;
    }

    .logo {
        font-size: 28px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 10001;
    }

    #navMenu {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 20px;
        right: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: 15px;
        background: #151924;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    }

    #navMenu.active {
        display: flex;
    }

    #navMenu a {
        display: block;
        padding: 12px;
        text-align: center;
        border-radius: 10px;
    }

    #navMenu a:hover {
        background: rgba(0, 198, 255, 0.08);
    }


    /* COMMON */

    section {
        padding: 70px 20px;
    }

    .title {
        font-size: 34px;
    }

    .subtitle {
        margin-bottom: 38px;
        font-size: 16px;
        line-height: 1.7;
    }


    /* HERO */

    .hero {
        min-height: 100svh;
        padding: 110px 20px 60px;
    }

    .badge {
        padding: 10px 20px;
        margin-bottom: 25px;
        font-size: 14px;
    }

    .hero h1 {
        font-size: 42px;
        line-height: 1.08;
    }

    .hero p {
        margin-top: 22px;
        font-size: 17px;
        line-height: 1.7;
    }

    .buttons {
        width: 100%;
        margin-top: 32px;
    }

    .buttons .btn {
        min-width: 190px;
    }


    /* SERVICES */

    #services {
        padding: 70px 20px;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .card {
        min-height: auto;
        padding: 28px;
    }

    .card:hover {
        transform: none;
        box-shadow: none;
    }

    .icon {
        font-size: 38px;
    }

    .card h3 {
        margin-top: 18px;
        font-size: 23px;
    }

    .card p {
        font-size: 16px;
        line-height: 1.7;
    }


    /* ABOUT */

    .about {
        gap: 35px;
    }

    .about-content {
        text-align: center;
    }

    .about-content .title,
    .about-content .subtitle {
        text-align: center;
    }

    .about-text {
        margin-bottom: 30px;
        font-size: 16px;
        line-height: 1.8;
        text-align: center;
    }

    .about-image {
        gap: 18px;
    }

    .about-box {
        padding: 24px;
    }

    .about-box:hover {
        transform: none;
        box-shadow: none;
    }


    /* PORTFOLIO */

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .project-card {
        padding: 28px;
    }

    .project-card:hover {
        transform: none;
        box-shadow: none;
    }

    .project-card h3 {
        font-size: 24px;
    }


    /* FAQ */

    .faq-item {
        padding: 22px;
    }

    .faq-item:hover {
        transform: none;
    }

    .faq-item h3 {
        font-size: 19px;
    }


    /* CONTACT */

    .contact-box {
        width: 100%;
        padding: 30px 22px;
    }

    .contact-box h3 {
        font-size: 28px;
    }

    .contact-box p {
        font-size: 16px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}


/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .buttons .btn {
        width: 100%;
    }

    .title {
        font-size: 31px;
    }

    .card {
        padding: 25px;
    }

    .contact-box {
        padding: 28px 18px;
    }
}