/* ==========================================================================
   AP SHOP FLASH - CSS GLOBAL
   ========================================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

:root{
    --bg:#050505;
    --bg-soft:#0b0b0b;
    --card:#111111;
    --card-light:#151515;
    --green:#00ff99;
    --green-dark:#00cc7a;
    --white:#ffffff;
    --black:#000000;
    --gray:#999999;
    --gray-light:#cccccc;
    --danger:#ff3b3b;
    --warning:#ffcc00;
    --blue:#3498db;
    --border:rgba(255,255,255,.08);
    --shadow:0 30px 60px rgba(0,0,0,.50);
    --radius:22px;
    --radius-sm:14px;
    --transition:.3s ease;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--bg);
    color:var(--white);
    overflow-x:hidden;
    line-height:1.5;
}

a{
    color:inherit;
    text-decoration:none;
}

button,
input,
select,
textarea{
    font-family:inherit;
}

img{
    max-width:100%;
    display:block;
}

.container{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */

.buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    border:none;
    cursor:pointer;
    padding:16px 28px;
    border-radius:16px;
    font-weight:600;
    transition:var(--transition);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    font-size:15px;
}

.btn-primary{
    background:var(--green);
    color:var(--black);
    box-shadow:0 10px 30px rgba(0,255,153,.25);
}

.btn-primary:hover{
    background:var(--green-dark);
    transform:translateY(-4px);
}

.btn-outline{
    border:1px solid var(--border);
    color:var(--white);
    background:rgba(255,255,255,.03);
}

.btn-outline:hover{
    border-color:var(--green);
    color:var(--green);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 0;
    position:relative;
}

.hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle at top left, rgba(0,255,153,.20), transparent 30%),
    radial-gradient(circle at bottom right, rgba(0,255,153,.10), transparent 30%);
    z-index:0;
}

.hero .container{
    position:relative;
    z-index:2;
}

.topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:70px;
    flex-wrap:wrap;
    gap:20px;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo-icon{
    width:60px;
    height:60px;
    border-radius:18px;
    background:linear-gradient(135deg, var(--green), #00b86b);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    color:var(--black);
    font-weight:700;
    box-shadow:0 0 25px rgba(0,255,153,.30);
}

.logo h1{
    font-size:28px;
    font-weight:800;
}

.logo p{
    color:var(--gray);
    font-size:14px;
}

.menu{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.menu a{
    color:var(--white);
    border:1px solid var(--border);
    padding:12px 20px;
    border-radius:14px;
    transition:var(--transition);
    background:rgba(255,255,255,.03);
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
}

.menu a:hover{
    background:var(--green);
    color:var(--black);
    transform:translateY(-3px);
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--green);
    background:rgba(0,255,153,.10);
    border:1px solid rgba(0,255,153,.20);
    padding:10px 16px;
    border-radius:999px;
    font-size:14px;
    font-weight:600;
    margin-bottom:20px;
}

.hero-text h2{
    font-size:58px;
    line-height:1.1;
    margin-bottom:25px;
    font-weight:800;
}

.hero-text h2 span{
    color:var(--green);
}

.hero-text p{
    color:var(--gray);
    font-size:18px;
    line-height:1.8;
    margin-bottom:35px;
}

/* ==========================================================================
   DASHBOARD PREVIEW
   ========================================================================== */

.dashboard-preview{
    background:linear-gradient(180deg, #151515, #0a0a0a);
    border:1px solid var(--border);
    border-radius:30px;
    padding:25px;
    box-shadow:var(--shadow);
}

.preview-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:25px;
}

.preview-header h3{
    font-size:22px;
}

.status{
    padding:10px 16px;
    border-radius:999px;
    background:rgba(0,255,153,.12);
    color:var(--green);
    font-size:13px;
    font-weight:600;
}

.cards{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-bottom:25px;
}

.card{
    background:#121212;
    border-radius:20px;
    padding:20px;
    border:1px solid var(--border);
}

.card small{
    color:var(--gray);
    display:block;
    margin-bottom:10px;
}

.card h4{
    font-size:30px;
}

/* ==========================================================================
   MAPA
   ========================================================================== */

.map-preview{
    height:250px;
    border-radius:22px;
    overflow:hidden;
    position:relative;
    border:1px solid var(--border);
    background:#0f0f0f;
}

.real-map iframe{
    width:100%;
    height:100%;
    border:0;
    border-radius:22px;
    filter:grayscale(1) invert(.92) contrast(1.1);
}

/* ==========================================================================
   FEATURES
   ========================================================================== */

.features{
    padding:80px 0;
}

.features-grid{
    max-width:1200px;
    margin:auto;
    padding:0 20px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.feature-card{
    background:#101010;
    border:1px solid var(--border);
    border-radius:24px;
    padding:30px;
    transition:var(--transition);
}

.feature-card:hover{
    transform:translateY(-8px);
    border-color:rgba(0,255,153,.35);
}

.feature-icon{
    width:70px;
    height:70px;
    border-radius:20px;
    background:rgba(0,255,153,.12);
    color:var(--green);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    margin-bottom:25px;
}

.feature-card h3{
    margin-bottom:15px;
    font-size:22px;
}

.feature-card p{
    color:var(--gray);
    line-height:1.8;
}

/* ==========================================================================
   LOGIN
   ========================================================================== */

.login-page{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:
    radial-gradient(circle at top left, rgba(0,255,153,.18), transparent 35%),
    var(--bg);
}

.login-box{
    width:100%;
    max-width:420px;
    background:var(--card);
    border:1px solid var(--border);
    border-radius:24px;
    padding:35px;
    box-shadow:var(--shadow);
}

.login-box h1{
    font-size:30px;
    margin-bottom:8px;
}

.login-box p{
    color:var(--gray);
    margin-bottom:25px;
}

.form-group{
    margin-bottom:18px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    color:var(--gray-light);
    font-size:14px;
}

.form-control{
    width:100%;
    padding:15px 16px;
    border-radius:14px;
    border:1px solid var(--border);
    background:#0d0d0d;
    color:var(--white);
    outline:none;
    transition:var(--transition);
}

.form-control:focus{
    border-color:var(--green);
}

.alert-error{
    background:rgba(255,59,59,.12);
    border:1px solid rgba(255,59,59,.25);
    color:#ff7777;
    padding:12px 14px;
    border-radius:12px;
    margin-bottom:18px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer{
    padding:40px 20px;
    text-align:center;
    color:var(--gray);
    border-top:1px solid var(--border);
}

/* ==========================================================================
   MOBILE ONLY
   ========================================================================== */

.mobile-only{
    display:none !important;
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media(max-width:980px){

    .hero-grid{
        grid-template-columns:1fr;
    }

    .hero-text h2{
        font-size:42px;
    }

    .features-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .mobile-only{
        display:flex !important;
    }

}

@media(max-width:600px){

    .topbar{
        flex-direction:column;
        align-items:flex-start;
    }

    .hero-text h2{
        font-size:34px;
    }

    .hero-text p{
        font-size:16px;
    }

    .cards{
        grid-template-columns:1fr;
    }

    .buttons{
        flex-direction:column;
    }

    .btn{
        width:100%;
    }

    .menu{
        width:100%;
    }

    .menu a{
        flex:1;
        justify-content:center;
        text-align:center;
    }

    .logo h1{
        font-size:24px;
    }

}