/* ARQUIVO: public_html/marketplace/style.css */

/* --- RESET & VARIAVEIS --- */
:root {
    --primary: #0f172a;
    --secondary: #2563eb;
    --accent: #f59e0b;
    --text-light: #f8fafc;
    --text-gray: #94a3b8;
    --bg-dark: #020617;
    --card-bg: #1e293b;
    --success: #10b981;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-dark); color: var(--text-light); overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

/* --- BOTÕES --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 30px; border-radius: 50px; font-weight: 600;
    text-transform: uppercase; font-size: 0.9rem; cursor: pointer; border: none;
}
.btn-primary { background: var(--secondary); color: white; box-shadow: 0 4px 15px rgba(37,99,235,0.3); }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); }
.btn-action { background: var(--accent); color: #fff; box-shadow: 0 4px 15px rgba(245,158,11,0.3); }
.btn-action:hover { background: #d97706; transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--text-light); color: var(--text-light); background: transparent; }
.btn-outline:hover { background: white; color: var(--primary); }

/* --- HEADER --- */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(2, 6, 23, 0.95); backdrop-filter: blur(10px);
    z-index: 1000; padding: 15px 5%;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo img { height: 45px; display:block; }

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a { color: var(--text-light); font-size: 0.95rem; }
.nav-links a:hover { color: var(--secondary); }

/* BOTÃO MENU MOBILE */
.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    color: #fff;
}

.mobile-menu-btn i { font-size: 18px; }

/* FUNDO (OVERLAY) DO MENU MOBILE */
.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 999;
    display: none;
}

.mobile-backdrop.show { display: block; }

/* --- HERO --- */
.hero {
    padding: 140px 5% 60px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px;
    background: radial-gradient(circle at top right, #1e293b 0%, transparent 40%);
}
.hero-text { max-width: 600px; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 900; }
.hero-text h1 span { color: var(--secondary); }
.hero-text p { color: var(--text-gray); font-size: 1.2rem; margin-bottom: 30px; }
.hero-img { width: 45%; position: relative; }

/* --- NOTEBOOK PREMIUM --- */
.premium-laptop-wide { width: 100%; max-width: 860px; margin: 20px auto 0; perspective: 1000px; }
.laptop-lid-wide {
    background: linear-gradient(to bottom, #475569 0%, #1e293b 100%);
    padding: 8px 8px 0 8px; border-radius: 12px 12px 0 0; position: relative;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}
.laptop-screen-wide {
    background: #000; overflow: hidden; border-radius: 4px 4px 0 0; aspect-ratio: 16 / 9; position: relative;
}
.laptop-screen-wide::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.05) 0%, transparent 40%); pointer-events: none;
}
.laptop-screen-wide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.laptop-base-wide {
    height: 18px; background: linear-gradient(to bottom, #334155 0%, #0f172a 100%);
    border-radius: 0 0 14px 14px; position: relative; margin-top: 0;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
}
.laptop-base-wide::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 18%; height: 3px; background: rgba(0,0,0,0.3); border-radius: 0 0 4px 4px;
}

/* --- SEÇÕES GERAIS --- */
.pain-section { padding: 10px 5%; background: var(--primary); text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 15px; }
.section-subtitle { color: var(--text-gray); margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.pain-card {
    background: rgba(255,255,255,0.03); padding: 30px; border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05); transition: 0.3s;
}
.pain-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.pain-icon { font-size: 2.5rem; color: #ef4444; margin-bottom: 20px; }
.pain-card h3 { margin-bottom: 15px; font-size: 1.2rem; }
.pain-card p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.6; }

/* --- FUNCIONALIDADES --- */
.features { padding: 20px 5% 30px; background: #0b1120; }
.feature-container { display: flex; align-items: center; gap: 60px; margin-bottom: 80px; }
.feature-container.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; min-width: 0; }
.feature-img { flex: 1; display: flex; justify-content: center; min-width: 0; }
.check-list li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 12px; color: var(--text-gray); font-size: 1rem; }
.check-list i { color: var(--success); margin-top: 4px; }

/* --- PHONE FRAME --- */
.phone-frame {
    border: 12px solid #1e293b; border-radius: 30px; overflow: hidden; position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); max-width: 280px; margin: 0 auto;
    background: #000; aspect-ratio: 9/19;
}
.phone-notch {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 50%; height: 20px; background: #1e293b;
    border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; z-index: 10;
}
.phone-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- ABOUT (SEM BUG NO MOBILE) --- */
.about-section { padding: 10px 5%; background: linear-gradient(to bottom, #1e293b 0%, #0f172a 100%); }
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}
.about-image { flex: 1; min-width: 0; }
.about-image img{
    width: 100%;
    display: block;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.10);
    object-fit: cover;
}
.about-content { flex: 1; min-width: 0; text-align: left; }
.about-title { font-size: 2.5rem; margin-bottom: 20px; color: #fff; line-height: 1.2; }
.about-title span { color: #3b82f6; }
.about-text { color: #94a3b8; font-size: 1.1rem; line-height: 1.8; margin-bottom: 40px; }
.about-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.about-card{
    background: rgba(255,255,255,0.03);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}
.about-card h3{ color: #fff; margin-bottom: 10px; font-size: 1.1rem; }
.about-card p{ color: #94a3b8; font-size: 0.9rem; }
.about-note{ color: #64748b; font-size: 0.9rem; margin-top: 15px; margin-left: 5px; }

/* --- PRICING --- */
.pricing { padding: 10px 5% 80px; background: #0f172a; text-align: center; }
.toggle-container { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 40px; }
.switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #334155; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--secondary); }
input:checked + .slider:before { transform: translateX(26px); }

.price-cards { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.price-card { background: var(--card-bg); padding: 40px; border-radius: 20px; width: 350px; border: 1px solid rgba(255,255,255,0.05); position: relative; }
.price-card.popular { border-color: var(--secondary); box-shadow: 0 0 30px rgba(37,99,235,0.15); }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--secondary); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }
.price { font-size: 3rem; font-weight: 800; margin: 20px 0; color: var(--text-light); }
.price span { font-size: 1rem; color: var(--text-gray); font-weight: 400; }

/* --- FOOTER (SEU BLOCO, SEM ALTERAR) --- */
.footer-dark { background-color: #050505; color: #ffffff; padding-top: 60px; border-top: 1px solid #1f2937; font-family: 'Inter', sans-serif; }
.footer-container { max-width: 1400px; margin: 0 auto; padding: 0 5% 60px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-col { flex: 1; min-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo img { height: 45px; }
.footer-logo h2 { font-size: 1.4rem; font-weight: 800; color: #fff; margin: 0; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col.info p { color: #d1d5db; line-height: 1.6; font-size: 0.95rem; }
.footer-col h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 25px; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.links-list ul { list-style: none; padding: 0; margin: 0; }
.links-list li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 12px; }
.links-list li i { width: 20px; text-align: center; color: #fff; margin-top: 4px; }
.links-list li a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; transition: 0.3s; }
.links-list li span { font-size: 0.95rem; color: #e5e5e5; }
.links-list li a:hover span { color: #00a8ff; }
.footer-input { width: 100%; padding: 14px 15px; margin-bottom: 12px; border: none; border-radius: 4px; background-color: #e5e5e5; color: #333; font-size: 1rem; outline: none; }
.footer-input::placeholder { color: #666; }
.footer-btn { width: 100%; padding: 14px; border: none; border-radius: 4px; background-color: #00a8ff; color: #fff; font-weight: 800; font-size: 1rem; cursor: pointer; transition: 0.3s; text-transform: uppercase; }
.footer-btn:hover { background-color: #008ecc; }
.footer-bottom { background-color: #1a1b1f; padding: 20px 5%; border-top: 1px solid #333; font-size: 0.9rem; color: #fff; }
.bottom-content { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.bottom-left { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.bottom-left a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 6px; transition: 0.3s; }
.bottom-left a:hover { color: #00a8ff; }

.modal-content.dark-theme { background-color: #1a1b1f; color: #e5e5e5; border: 1px solid #333; }
.modal-header.dark-theme, .modal-footer.dark-theme { border-color: #333; }
.close.text-white { opacity: 1; }

/* --- RESPONSIVO (WEB + CELULAR) --- */

/* tablets */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 3rem; }
    .feature-container { gap: 40px; }
}

/* mobile/menu */
@media (max-width: 980px) {
    .mobile-menu-btn { display: inline-flex; }

    /* menu vira drawer */
    .nav-links {
        position: fixed;
        top: 76px;
        right: 0;
        height: calc(100vh - 76px);
        width: min(340px, 92vw);
        padding: 18px;
        background: rgba(2, 6, 23, 0.98);
        border-left: 1px solid rgba(255,255,255,0.08);
        box-shadow: -15px 0 35px rgba(0,0,0,0.35);
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        transform: translateX(110%);
        transition: transform .25s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-links.open { transform: translateX(0); }

    .nav-links a { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.03); }
    .nav-links a.btn { width: 100%; }

    /* hero empilha */
    .hero {
        flex-direction: column;
        padding: 120px 5% 40px;
    }

    .hero-img { width: 100%; }
}

/* mobile pequeno */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text p { font-size: 1rem; }

    .feature-container,
    .feature-container.reverse {
        flex-direction: column;
    }

    .about-container {
        flex-direction: column;
        gap: 26px;
    }

    .about-title { font-size: 2rem; }
    .about-cards { grid-template-columns: 1fr; }

    .footer-container { flex-direction: column; }
    .bottom-content { flex-direction: column; text-align: center; }
    .bottom-left { justify-content: center; gap: 15px; }
}
