/* Importa a fonte Lato do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

/* Define variáveis de cor e fontes para fácil manutenção */
:root {
    --bs-primary-rgb: 30, 80, 135; /* Azul escuro para elementos principais */
    --bs-secondary-rgb: 108, 117, 125; /* Cinza padrão do Bootstrap */
    --linkws-light-bg: #f8f9fa; /* Fundo claro, cinza muito suave */
    --linkws-dark-bg: #212529;  /* Fundo escuro, cinza quase preto */
    --linkws-accent: #20c997;   /* Verde para CTAs e destaques */
    --bs-body-font-family: 'Lato', sans-serif;
    --bs-body-color: #343a40;
    --bs-body-bg: #fff;
}

/* Estilos gerais */
body {
    font-family: var(--bs-body-font-family);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.section-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Seções com fundo escuro */
.bg-dark {
    background-color: var(--linkws-dark-bg) !important;
    color: var(--linkws-light-bg);
}

.bg-dark h2, .bg-dark h3 {
    color: #fff;
}

/* Seção Hero */
.hero-section {
    padding: 6rem 0;
    /* Gradiente sofisticado com pontos de luz sutis */
    background: 
        radial-gradient(800px 400px at 15% 15%, rgba(255,255,255,0.03), transparent),
        radial-gradient(600px 300px at 85% 85%, rgba(255,255,255,0.02), transparent),
        radial-gradient(1000px 500px at 50% 50%, rgba(0,0,0,0.1), transparent),
        linear-gradient(135deg, 
            #1a1f2e 0%,
            #1e2534 25%,
            #23334d 50%,
            #1c2837 75%,
            #161b24 100%
        );
    color: #fff;
}

.btn-glow {
    background-color: var(--linkws-accent);
    color: white;
    box-shadow: 0 0 15px rgba(32, 201, 151, 0.7);
    transition: box-shadow 0.3s ease-in-out, background-color 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    border: none;
    font-weight: 700;
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(32, 201, 151, 1);
    background-color: #24e0ab;
    color: white;
}

/* New stronger download CTA with a brighter green and soft glow */
.btn-download {
    background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
    color: #fff;
    border: none;
    font-weight: 800;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.25), inset 0 -2px 6px rgba(0,0,0,0.12);
    padding: 0.75rem 1.25rem;
    transition: transform 0.12s ease, box-shadow 0.18s ease;
}
.btn-download:hover, .btn-download:focus {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.32), inset 0 -2px 8px rgba(0,0,0,0.14);
    outline: none;
}

.btn-download:active {
    transform: translateY(-1px);
}

.hero-section .display-4 {
    font-weight: 700;
}

/* Hero brand area: logo + OS pill */
.hero-brand {
    align-items: center;
}

.hero-brand img {
    max-width: 140px;
    height: auto;
}

.os-pill {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 991px) {
    .os-pill { display: none !important; }
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.85);
}

.hero-section .pain-points {
    list-style: none;
    padding-left: 0;
}

.hero-section .pain-points li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.95);
}

.hero-section .pain-points i {
    color: var(--linkws-accent);
}

.hero-section .img-fluid {
    cursor: pointer;
    border-radius: 0.5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-section .img-fluid:hover {
    transform: scale(1.03);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
}

/* Cards de vantagens */
.feature-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

/* FAQ com <details> */
details {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 1rem 1.5rem;
}

details summary {
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::before {
    content: '+';
    margin-right: 0.75rem;
    font-weight: bold;
    color: var(--linkws-accent);
}

details[open] summary::before {
    content: '−';
}

details p {
    margin-top: 1rem;
    color: #495057;
}

/* Seção de Preço */
.price-card {
    border: 1px solid #ddd;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    background: #fff;
}

.price-ribbon {
    position: absolute;
    top: 42px;
    right: -50px;
    background: #2563eb;
    color: #fff;
    padding: 6px 40px;
    transform: rotate(45deg);
    width: 200px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 1;
    font-family: var(--bs-body-font-family);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.price-card .card-body {
    padding: 2.5rem;
}

.price-card .old-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 1.2rem;
}

.price-card .current-price {
    font-size: 3rem;
    font-weight: 700;
    color: rgb(var(--bs-primary-rgb));
}

.price-card .list-unstyled li {
    padding: 0.25rem 0;
}

/* Footer */
.footer {
    background-color: var(--linkws-dark-bg);
    color: rgba(255, 255, 255, 0.7);
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-columns {
        grid-template-columns: 2fr 1fr 1.5fr;
        text-align: left;
        align-items: start; /* top-align columns on desktop */
    }
}

.footer .quote {
    font-style: italic;
    font-size: 1.1rem;
    border-left: 3px solid var(--linkws-accent);
    padding-left: 1rem;
    margin-bottom: 0;
}

.footer-col h5 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.logo-glow {
    transition: filter 0.3s ease;
}

.logo-glow:hover {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.85));
}

/* Increase visible white border/contrast around partner logo */
.footer-col a img.logo-glow {
    background: #fff;
    padding: 6px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* Modal para imagem */
.modal-dialog-centered {
    max-width: 90vw;
}

.modal-content {
    background-color: transparent;
    border: none;
}

.modal-body {
    padding: 0;
}

.modal-header {
    border-bottom: none;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}