* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
}

/* BASE */

html {
    scroll-behavior: smooth;
}

body {
    background: #050816;
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(99, 102, 241, .18), transparent 30%),
        radial-gradient(circle at 85% 65%, rgba(14, 165, 233, .14), transparent 35%),
        radial-gradient(circle at 50% 90%, rgba(168, 85, 247, .12), transparent 30%);
    z-index: -1;
}

.container {
    width: min(1280px, 90%);
    margin: auto;
}

/* NAV */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
    background: rgba(5, 8, 22, .8);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    width: 160px;
    height: 55px;
    background-image: url("../img/logo-nav.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    user-select: none;
    pointer-events: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #cbd5e1;
    transition: .3s;
}

.nav-links a:hover {
    color: white;
}

.nav-links i {
    margin-right: 8px;
}

/* BUTTONS */

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    transition: .35s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    color: white;
    box-shadow: 0 15px 35px rgba(99, 102, 241, .25);
}

.btn-primary:hover {
    transform: translateY(-4px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, .12);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .05);
}

/* HERO */

.hero {
    padding: 8rem 0 6rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #a5b4fc;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.stats {
    display: flex;
    gap: 3rem;
}

.stat strong {
    display: block;
    font-size: 2rem;
    color: #67e8f9;
}

.stat > span {
    color: #94a3b8;
}

.stat i {
    font-size: 1.4rem;
    color: #818cf8;
    margin-bottom: .6rem;
}

.dashboard {
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 2rem;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.dashboard-box {
    background: rgba(255, 255, 255, .04);
    padding: 1.2rem;
    border-radius: 18px;
    margin-top: 1rem;
}

.dashboard-box i {
    margin-right: 12px;
    color: #67e8f9;
}

.dash-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dash-top span {
    font-size: .75rem;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(34, 197, 94, .15);
    color: #4ade80;
}

.dashboard-box h4 {
    margin-bottom: .4rem;
    font-size: 1.1rem;
}

.dashboard-box p {
    color: #94a3b8;
    font-size: .95rem;
}

/* ANIMATIONS */

.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* SECTIONS */

section {
    padding: 7rem 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #cbd5e1;
    max-width: 700px;
    margin: auto auto 4rem;
}

/* SOLUTIONS */

.solutions-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:2rem;
    margin-top:3rem;
}

.solution-project{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    padding:2rem;
    backdrop-filter:blur(14px);
    transition:.35s ease;
}

.solution-project:hover{
    transform:translateY(-8px);
    border-color:rgba(99,102,241,.35);
}

.solution-icon{
    width:56px;
    height:56px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#6366f1,#06b6d4);
    margin-bottom:1rem;
    font-size:1.3rem;
}

.solution-project h3{
    font-size:1.35rem;
    margin-bottom:1rem;
}

.solution-project p{
    color:#cbd5e1;
    margin-bottom:1.8rem;
}

.solution-link{
    color:white;
    text-decoration:none;
    font-weight:700;
    display:inline-flex;
    align-items:center;
    gap:.5rem;
}

.solution-link i{
    font-size:.85rem;
}

/* PROCESS */

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

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.step h3 i {
    color: #67e8f9;
    margin-right: 10px;
}

/* CTA */

.cta {
    text-align: center;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 32px;
    padding: 5rem 2rem;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta p {
    color: #cbd5e1;
    margin-bottom: 2rem;
}

/* RESULTS */

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.result-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(14px);
    transition: .35s ease;
}

.result-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, .35);
    box-shadow: 0 20px 50px rgba(99,102,241,.12);
}

.result-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.result-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.result-card p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.result-card span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: #67e8f9;
    font-size: .9rem;
}

/* WHY */

.why{
    background: rgba(255,255,255,.03);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 2rem;
    border-radius: 24px;
    backdrop-filter: blur(14px);
    transition: .35s ease;

    min-height: 320px;

    display: flex;
    flex-direction: column;

    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, .45);
    box-shadow: 0 20px 50px rgba(99,102,241,.15);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    font-size: .95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* FOOTER */

footer {
    padding: 2.5rem 0;
    text-align: center;
    color: #64748b;
}

footer p {
    font-size: .9rem;
    opacity: .8;
}

/* UTILITIES */

#toTop{
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(99,102,241,.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .35s ease;
    z-index: 999;
}

#toTop.showBtn{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#toTop:hover{
    transform: translateY(-4px);
}

.lang-switch{
    display:flex;
    align-items:center;
    background: rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:999px;
    padding:6px;
    cursor:pointer;
    backdrop-filter: blur(10px);
}

.lang-switch span{
    padding:8px 14px;
    border-radius:999px;
    font-size:.85rem;
    font-weight:700;
    color:#94a3b8;
    transition:.3s ease;
}

.lang-switch span.active{
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    color:white;
}

/* RESPONSIVE - TABLET */
@media (max-width: 1024px) {

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

    .hero h1 {
        font-size: 3.4rem;
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }

    .hero p {
        margin: 0 auto 2rem;
        max-width: 700px;
    }

    .hero-buttons,
    .stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .dashboard {
        max-width: 850px;
        margin: auto;
    }

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

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

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}


/* RESPONSIVE - SMALL TABLET */
@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .hero {
        padding: 5rem 0;
    }

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

    .stats {
        gap: 2rem;
    }

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

    .cta h2 {
        font-size: 2.4rem;
    }
}


/* RESPONSIVE - MOBILE */
@media (max-width: 768px) {

    .container {
        width: 92%;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .logo {
        width: 130px;
        height: 45px;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2.3rem;
        line-height: 1.15;
    }

    .hero p {
        font-size: 1rem;
    }

    .badge {
        font-size: .8rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 18px;
    }

    .stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .dashboard,
    .card,
    .result-card,
    .solution-project {
        padding: 1.4rem;
        border-radius: 20px;
    }

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

    .section-subtitle {
        font-size: .95rem;
        margin-bottom: 2.5rem;
    }

    .cta {
        padding: 3rem 1.2rem;
    }

    .cta h2 {
        font-size: 2rem;
        line-height: 1.25;
    }

    section {
        padding: 4rem 0;
    }

    #toTop {
        width: 48px;
        height: 48px;
        right: 18px;
        bottom: 18px;
    }
}


/* RESPONSIVE - SMALL MOBILE */
@media (max-width: 480px) {

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

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

    .cta h2 {
        font-size: 1.6rem;
    }

    .stat strong {
        font-size: 1.6rem;
    }

    .lang-switch span {
        padding: 6px 10px;
        font-size: .75rem;
    }

    .solution-project h3,
    .result-card h3,
    .card h3 {
        font-size: 1.15rem;
    }
}