/* ============================================================
   ZeroBoot Store — estilos da loja
   ============================================================ */

:root {
    --azul: #00d4ff;
    --verde: #00ff9d;
    --card-bg: rgba(10, 20, 40, 0.85);
    --border: rgba(0, 212, 255, 0.15);
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #0a1428 0%, #000814 100%);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

/* ================= HEADER ================= */
header {
    background: rgba(10, 20, 40, 0.92);
    backdrop-filter: blur(14px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

nav {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.7rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { height: 72px; width: auto; transition: transform 0.4s; }
.logo:hover img { transform: scale(1.08); }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.98rem;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--azul);
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--azul); }
.nav-links a.active { color: var(--azul); }
.nav-links a.active::after { width: 100%; }

/* ================= HERO ================= */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-text { animation: fadeInUp 0.8s ease forwards; }
.hero-text .badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--azul), var(--verde));
    color: #000;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 1rem;
}
.hero-text h1 { font-size: 3.2rem; line-height: 1.15; margin-bottom: 0.6rem; }
.hero-text h1 span { color: var(--azul); }
.hero-text p { font-size: 1.15rem; opacity: 0.9; max-width: 480px; margin-bottom: 1.5rem; }

.hero-showcase {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 5px solid var(--azul);
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.35), inset 0 0 40px rgba(0, 212, 255, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 20, 40, 0.6);
    animation: float 6s ease-in-out infinite;
    margin: 0 auto;
}
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px;
    width: 100%;
    height: 100%;
}
.showcase-item {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s;
}
.showcase-item i { font-size: 2rem; color: var(--azul); }
.showcase-item span { font-size: 0.55rem; color: #889; }
.showcase-item:hover { background: rgba(0, 212, 255, 0.2); border-color: var(--azul); transform: scale(1.05); }
.showcase-item:nth-child(1) { animation: floatIcon1 5s ease-in-out infinite; }
.showcase-item:nth-child(2) { animation: floatIcon2 5s ease-in-out infinite; }
.showcase-item:nth-child(3) { animation: floatIcon2 5s ease-in-out infinite; }
.showcase-item:nth-child(4) { animation: floatIcon1 5s ease-in-out infinite; }

/* ================= LOJA ================= */
#loja {
    padding: 80px 1.5rem 100px;
    background: linear-gradient(180deg, rgba(10, 20, 40, 0.3), rgba(10, 20, 40, 0.7));
}

.section-tag { text-align: center; margin-bottom: 0.5rem; }
.section-tag span {
    display: inline-block;
    background: rgba(0, 212, 255, 0.12);
    color: var(--azul);
    font-size: 0.85rem;
    padding: 4px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}
.section-title { text-align: center; font-size: 2.4rem; margin-bottom: 0.8rem; color: #fff; }
.section-title span { color: var(--azul); }
.section-desc {
    text-align: center;
    font-size: 1.05rem;
    opacity: 0.8;
    margin: 0 auto 2.5rem;
    max-width: 650px;
}

.api-alert {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 120, 60, 0.12);
    border: 1px solid rgba(255, 120, 60, 0.3);
    color: #ffb08a;
    font-size: 0.9rem;
    text-align: center;
}
.api-alert i { margin-right: 6px; }

.store-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 0.4rem 1rem;
    max-width: 380px;
    width: 100%;
}
.search-box i { color: var(--azul); font-size: 0.95rem; }
.search-box input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    padding: 0.6rem 0.3rem;
    width: 100%;
    outline: none;
    font-family: inherit;
}
.search-box input::placeholder { color: #667; }

.filter-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.filter-tag {
    padding: 7px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}
.filter-tag:hover { border-color: var(--azul); color: #fff; }
.filter-tag.active {
    background: linear-gradient(90deg, var(--azul), var(--verde));
    color: #000;
    border-color: transparent;
    font-weight: 600;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.software-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem 1.2rem;
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
}
.software-card:hover {
    transform: translateY(-8px);
    border-color: var(--azul);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2);
}
.software-card:hover .card-icon { transform: scale(1.1); }

.card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.8rem; }
.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 255, 157, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--azul);
    transition: transform 0.3s;
    flex-shrink: 0;
    overflow: hidden;
}
.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}
.card-icon.has-image {
    width: 84px;
    height: 84px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.18);
}
.card-icon.has-image img {
    border-radius: 16px;
}
.card-title-group { flex: 1; min-width: 0; }
.card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 2px; }
.card-version { font-size: 0.78rem; color: #889; }
.card-category {
    display: inline-block;
    background: rgba(0, 212, 255, 0.12);
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 0.72rem;
    color: var(--azul);
    margin-top: 4px;
}
.card-description {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.8rem 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding-top: 0.3rem;
}
.card-size { font-size: 0.78rem; color: #778; }
.card-size i { margin-right: 4px; }

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(90deg, var(--azul), #00d4ff);
    color: #000;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-download:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 212, 255, 0.35); }

.empty-state { text-align: center; padding: 4rem 1rem; color: #667; }
.empty-state i { font-size: 3rem; margin-bottom: 1rem; color: var(--azul); opacity: 0.4; }

/* ================= SOBRE ================= */
#sobre { padding: 90px 1.5rem; background: rgba(10, 20, 40, 0.5); }
.sobre-wrapper { max-width: 900px; margin: 0 auto; text-align: center; }
.sobre-wrapper h2 { font-size: 2.4rem; margin-bottom: 1.5rem; }
.sobre-wrapper h2 span { color: var(--azul); }
.sobre-wrapper p { font-size: 1.08rem; line-height: 1.8; opacity: 0.92; max-width: 750px; margin: 0 auto 1.5rem; }

.stats { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    min-width: 160px;
}
.stat-item .number {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--azul), var(--verde));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-item .label { font-size: 0.88rem; color: #aaa; margin-top: 5px; }

/* ================= CONTATO ================= */
#contato { padding: 80px 1.5rem 70px; background: rgba(10, 20, 40, 0.6); }
.contato-wrapper { max-width: 580px; margin: 0 auto; }
.contato-wrapper h2 { text-align: center; font-size: 2.2rem; margin-bottom: 1.8rem; }
.contato-wrapper h2 span { color: var(--azul); }

.form-container {
    background: rgba(255, 255, 255, 0.06);
    padding: 2rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    backdrop-filter: blur(4px);
}
.form-group { margin-bottom: 1.1rem; }
label { display: block; margin-bottom: 5px; font-weight: 500; color: #ddd; font-size: 0.9rem; }
input, textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s;
    outline: none;
    font-family: inherit;
}
input:focus, textarea:focus {
    border-color: var(--azul);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}
textarea { min-height: 110px; resize: vertical; }
.char-count { text-align: right; font-size: 0.82rem; color: #888; margin-top: 4px; }

.btn-submit {
    width: 100%;
    padding: 14px;
    margin-top: 0.8rem;
    background: linear-gradient(90deg, var(--azul), var(--verde));
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3); }

/* ================= FOOTER ================= */
footer {
    background: rgba(10, 20, 40, 0.9);
    backdrop-filter: blur(8px);
    padding: 2.5rem 2rem 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-content { max-width: 1000px; margin: 0 auto; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.footer-links a { color: #aaa; text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--azul); }
.footer-copy { font-size: 0.85rem; color: #667; }

/* ================= ANIMAÇÕES ================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes floatIcon1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes floatIcon2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ================= SCROLLBAR ================= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a1428; }
::-webkit-scrollbar-thumb { background: var(--azul); border-radius: 4px; }

/* ================= RESPONSIVO ================= */
@media (max-width: 992px) {
    .logo img { height: 64px; }
    .hero-text h1 { font-size: 2.8rem; }
    .software-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}
@media (max-width: 768px) {
    nav { padding: 0.6rem 1.2rem; }
    .logo img { height: 55px; }
    .nav-links { gap: 1.2rem; }
    .nav-links a { font-size: 0.88rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-text h1 { font-size: 2.4rem; }
    .hero-showcase { width: 250px; height: 250px; }
    .software-grid { grid-template-columns: 1fr; }
    .store-controls { flex-direction: column; align-items: stretch; }
    .search-box { max-width: 100%; }
    .stats { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
    .hero-text h1 { font-size: 2rem; }
    .hero-showcase { width: 200px; height: 200px; }
    .section-title { font-size: 1.8rem; }
}
