:root {
    --primary: #2563EB;
    --secondary: #0F172A;
    --secondary-dark: #1e293b; /* Adicionado para o gradiente do hero */
    --text-mid: #94a3b8; /* Adicionado para o texto do hero */

    --accent: #10B981;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    /* Adicionado para garantir que o corpo da página use a fonte Inter */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: var(--white);
}

header {
    background-color: var(--secondary);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    color: white;
    font-size: 20px;
}

.brand-name {
    color: var(--white);
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 1px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent);
}

.hero {
    background: linear-gradient(180deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    padding: 100px 5% 150px;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-mid);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, background 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.features {
    padding: 80px 5%;
    background-color: var(--bg-light);
    margin-top: -80px;
    border-radius: 60px 60px 0 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: block;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary);
}

.card:hover::before {
    opacity: 1;
}

.icon {
    font-size: 32px;
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background 0.3s ease;
}

.card:hover .icon {
    background: rgba(37, 99, 235, 0.1);
}

.info-section {
    padding: 80px 5%;
    background-color: var(--bg-light);
}

.version-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    background: var(--secondary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-list {
    list-style: none;
    margin-top: 15px;
}

.contact-list li {
    margin-bottom: 10px;
    font-size: 15px;
}

.contact-list a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-note {
    margin-top: 15px;
    font-size: 13px;
    font-style: italic;
    color: var(--text-light);
}

.screenshots {
    padding: 80px 5%;
    text-align: center;
}

.screenshots h2 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 900;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    border: 4px solid var(--secondary);
    background: var(--secondary);
}

.screenshot-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-label {
    padding: 12px;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 22px;
}

.card p {
    color: var(--text-light);
    font-size: 15px;
}

.footer {
    background-color: var(--secondary);
    color: var(--text-mid);
    padding: 4rem 5%;
    text-align: center;
    border-top: 1px solid #1e293b;
}

.footer-logo {
    margin-bottom: 2rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    nav { display: none; }
    .hero { padding: 60px 5% 100px; }
}

/* Estilos para o link de voltar na página de políticas */
.back-to-home-link {
    display: flex;
    align-items: center;
    gap: 8px; /* Espaço entre a seta e um possível texto (se adicionado futuramente) */
    color: var(--text-mid); /* Cor padrão para a seta */
    text-decoration: none;
    transition: color 0.3s, opacity 0.3s;
    opacity: 0.8;
    margin-left: 0; /* Sobrescreve a margem padrão de nav a */
}

.back-to-home-link:hover {
    color: var(--accent);
    opacity: 1;
}

/* Estilos Legais */
.footer-link {
    color: var(--text-mid);
    text-decoration: underline;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--white);
}

.legal-content {
    padding: 60px 5%;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    margin: 2rem 0 1rem;
    color: var(--secondary);
}

.legal-content p, .legal-content li {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Estilos para o SVG do logo */
.logo svg {
    /* As cores do gradiente foram definidas diretamente no SVG para compatibilidade */
    /* com o formato inline. Se desejar controlá-las via CSS, precisaria de JS */
    /* para injetar os valores das variáveis CSS no SVG. */
}