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

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter', sans-serif;
    background:#0f172a;
    color:#f8fafc;
}

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

.section{
    padding:120px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:70px;
}
.section-title p {
  text-align: justify;
  margin: auto;
}

.section-title span{
    color:#38bdf8;
    font-size:14px;
    letter-spacing:2px;
    font-weight:700;
}

.section-title h2{
    font-size:48px;
    margin-top:15px;
    font-weight:800;
}

/* ================= HEADER ================= */

.header{
    width:100%;
    padding:25px 8%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    position:fixed;
    top:0;

    background:rgba(15,23,42,0.8);

    backdrop-filter:blur(12px);

    z-index:1000;
}

.logo{
    font-size:28px;
    font-weight:800;
}

.logo span{
    color:#38bdf8;
}

.nav{
    display:flex;
    gap:35px;
}

.nav a{
    color:#e2e8f0;
    text-decoration:none;
    font-weight:500;
    transition:0.3s;
}

.nav a:hover{
    color:#38bdf8;
}

.header-btn{
    background:#38bdf8;
    color:#0f172a;

    border:none;

    padding:14px 22px;

    border-radius:12px;

    font-weight:700;

    cursor:pointer;

    transition:0.3s;
}

.header-btn:hover{
    transform:translateY(-3px);
}

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

.hero{
    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:150px 8% 100px;

    gap:60px;
}

.hero-left{
    flex:1;
}

.tag{
    display:inline-block;

    padding:10px 18px;

    background:rgba(56,189,248,0.1);

    border:1px solid rgba(56,189,248,0.3);

    border-radius:999px;

    color:#38bdf8;

    font-size:14px;

    margin-bottom:30px;
}

.hero h1{
    font-size:72px;
    line-height:1.05;
    font-weight:900;
    margin-bottom:30px;
}

.hero p{
    font-size:20px;
    color:#94a3b8;
    line-height:1.8;
    margin-bottom:40px;
    max-width:700px;
}

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

.primary-btn{
    background:#38bdf8;
    color:#0f172a;

    border:none;

    padding:18px 28px;

    border-radius:14px;

    font-weight:700;

    cursor:pointer;

    transition:0.3s;
}

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

.secondary-btn{
    background:transparent;

    color:#f8fafc;

    border:1px solid rgba(255,255,255,0.1);

    padding:18px 28px;

    border-radius:14px;

    cursor:pointer;

    transition:0.3s;
}

.secondary-btn:hover{
    border-color:#38bdf8;
}

.hero-stats{
    display:flex;
    gap:50px;
}

.stat h2{
    font-size:40px;
    color:#38bdf8;
}

.stat span{
    color:#94a3b8;
}

/* ================= DASHBOARD ================= */

.hero-right{
    flex:1;

    display:flex;
    justify-content:center;
}

.dashboard-card{
    width:500px;

    background:rgba(255,255,255,0.05);

    border:1px solid rgba(255,255,255,0.1);

    border-radius:30px;

    padding:25px;

    backdrop-filter:blur(10px);

    box-shadow:0 20px 80px rgba(0,0,0,0.3);
}

.dashboard-top{
    display:flex;
    gap:10px;
    margin-bottom:25px;
}

.circle{
    width:14px;
    height:14px;
    border-radius:50%;
}

.red{
    background:#ef4444;
}

.yellow{
    background:#f59e0b;
}

.green{
    background:#22c55e;
}
 
.dashboard-content{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.dashboard-box{
  width: 100%;  
    background:rgba(255,255,255,0.05);
    border-radius:20px;
}
.dashboard-box img{
  margin-left: 10vh;
}

.large{
    height:200px;
}

/* ================= BRANDS ================= */

.brands{
    padding:40px 8%;

    border-top:1px solid rgba(255,255,255,0.05);
    border-bottom:1px solid rgba(255,255,255,0.05);

    text-align:center;
}

.brands p{
    color:#64748b;
    margin-bottom:25px;
}

.brand-items{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:40px;
}

.brand-items span{
    color:#cbd5e1;
    font-size:18px;
    font-weight:600;
}

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

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

.about-card{
    background:rgba(255,255,255,0.04);

    padding:40px;

    border-radius:24px;

    border:1px solid rgba(255,255,255,0.08);

    transition:0.3s;
}

.about-card:hover{
    transform:translateY(-10px);
    border-color:#38bdf8;
}

.about-card h3{
    font-size:28px;
    margin-bottom:20px;
}

.about-card p{
    color:#94a3b8;
    line-height:1.8;
}

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

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

.service-card{
    background:#111827;

    padding:40px;

    border-radius:24px;

    border:1px solid rgba(255,255,255,0.06);

    transition:0.3s;
}

.service-card:hover{
    transform:translateY(-10px);
    border-color:#38bdf8;
}

.service-card h3{
    margin-bottom:20px;
    font-size:24px;
}

.service-card p{
    color:#94a3b8;
    line-height:1.8;
}

/* ================= PRODUCTS ================= */

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

.product-card{
    background:linear-gradient(
        180deg,
        rgba(56,189,248,0.08),
        rgba(255,255,255,0.02)
    );

    border-radius:24px;

    padding:40px;

    border:1px solid rgba(255,255,255,0.08);

    transition:0.3s;
}

.product-card:hover{
    transform:translateY(-10px);
}

.product-top{
    margin-bottom:20px;
}

.product-top span{
    background:#38bdf8;
    color:#0f172a;

    padding:8px 14px;

    border-radius:999px;

    font-size:12px;

    font-weight:800;
}

.product-card h3{
    font-size:28px;
    margin-bottom:20px;
}

.product-card p{
    color:#94a3b8;
    margin-bottom:30px;
    line-height:1.8;
}

.product-card button{
    width:100%;

    padding:16px;

    border:none;

    border-radius:14px;

    background:#38bdf8;

    color:#0f172a;

    font-weight:700;

    cursor:pointer;
}

/* ================= PROJECTS ================= */

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

.project-card{
    background:#111827;

    padding:40px;

    border-radius:24px;

    border:1px solid rgba(255,255,255,0.06);

    min-height:260px;

    transition:0.3s;
}

.project-card:hover{
    transform:translateY(-10px);
    border-color:#38bdf8;
}

.project-card h3{
    font-size:28px;
    margin-bottom:20px;
}

.project-card p{
    color:#94a3b8;
    line-height:1.8;
}

/* ================= CTA ================= */

.cta{
    padding:120px 8%;
}

.text-box{
    padding:5px;
    margin-bottom: 4vh;
    border-radius:40px;
    text-align:center;
}


.cta-box{
    background:linear-gradient(
        135deg,
        #38bdf8,
        #2563eb
    );

    padding:80px;

    border-radius:40px;

    text-align:center;
}

.cta-box h2{
    font-size:52px;
    margin-bottom:25px;
}

.cta-box p{
    font-size:20px;
    max-width:700px;
    margin:0 auto 40px;
    line-height:1.8;
}

.cta-box button{
    background:#0f172a;

    color:#fff;

    border:none;

    padding:18px 32px;

    border-radius:16px;

    font-size:16px;

    font-weight:700;

    cursor:pointer;
}

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

.contact-form{
    max-width:700px;
    margin:0 auto;

    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{
    background:#111827;

    border:1px solid rgba(255,255,255,0.08);

    border-radius:16px;

    padding:20px;

    color:#fff;

    font-size:16px;
}

.contact-form textarea{
    height:180px;
    resize:none;
}

.contact-form button{
    background:#38bdf8;

    color:#0f172a;

    border:none;

    padding:18px;

    border-radius:16px;

    font-weight:800;

    cursor:pointer;
}

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

.footer{
    padding:50px 8%;

    border-top:1px solid rgba(255,255,255,0.05);

    text-align:center;
}

.footer-logo{
    font-size:32px;
    font-weight:900;
    margin-bottom:20px;
}

.footer-logo span{
    color:#38bdf8;
}

.footer p{
    color:#64748b;
}

/* ================= RESPONSIVO ================= */

@media(max-width:1100px){

    .hero{
        flex-direction:column;
        text-align:center;
    }

    .hero p{
        margin:0 auto 40px;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-stats{
        justify-content:center;
    }

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

    .dashboard-card{
        width:100%;
    }

}

@media(max-width:768px){

    .nav{
        display:none;
    }

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

    .section-title h2{
        font-size:36px;
    }

    .cta-box{
        padding:50px 30px;
    }

    .cta-box h2{
        font-size:36px;
    }

}


/* ================= ANIMATED BACKGROUND ================= */

.animated-bg{
    position:fixed;

    width:100%;
    height:100vh;

    top:0;
    left:0;

    overflow:hidden;

    z-index:-1;
}

/* ================= ESFERAS ================= */

.gradient-sphere{
    position:absolute;

    border-radius:50%;

    filter:blur(120px);

    opacity:0.35;

    animation:float 15s infinite ease-in-out;
}

/* ================= SPHERE 1 ================= */

.sphere1{
    width:500px;
    height:500px;

    background:#38bdf8;

    top:-100px;
    left:-100px;

    animation-duration:18s;
}

/* ================= SPHERE 2 ================= */

.sphere2{
    width:400px;
    height:400px;

    background:#2563eb;

    bottom:-100px;
    right:-100px;

    animation-duration:22s;
}

/* ================= SPHERE 3 ================= */

.sphere3{
    width:300px;
    height:300px;

    background:#22c55e;

    top:40%;
    left:50%;

    animation-duration:16s;
}

/* ================= FLOAT ANIMATION ================= */

@keyframes float{

    0%{
        transform:
        translate(0px,0px)
        scale(1);
    }

    25%{
        transform:
        translate(60px,-40px)
        scale(1.1);
    }

    50%{
        transform:
        translate(-30px,50px)
        scale(0.9);
    }

    75%{
        transform:
        translate(40px,20px)
        scale(1.05);
    }

    100%{
        transform:
        translate(0px,0px)
        scale(1);
    }

}

body::before{
    content:"";

    position:fixed;

    width:100%;
    height:100%;

    top:0;
    left:0;

    background-image:
    linear-gradient(
        rgba(255,255,255,0.03) 1px,
        transparent 1px
    ),
    linear-gradient(
        90deg,
        rgba(255,255,255,0.03) 1px,
        transparent 1px
    );

    background-size:40px 40px;

    z-index:-2;
}