/* ============================================================
   Kountera PDV — Landing Page
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0f1419;
    --bg-panel: #1c2733;
    --bg-card: #243140;
    --accent: #FF8A00;
    --accent-dark: #c66c00;
    --text: #e8eef5;
    --text-dim: #8a9bad;
    --border: #2d3a4a;
    --success: #27ae60;
}

html, body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* --- Topo --- */
header {
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}
header .container {
    display: flex; align-items: center; justify-content: space-between;
}
.logo {
    font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
    color: var(--text);
}
.logo span { color: var(--accent); }
.logo a { color: inherit; text-decoration: none; }
nav a {
    color: var(--text-dim); text-decoration: none;
    margin-left: 24px; font-size: 14px; font-weight: 500;
    transition: color .15s;
}
nav a:hover { color: var(--text); }

/* --- Hero --- */
.hero { padding: 70px 0 60px; text-align: center; }
.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800; letter-spacing: -1.2px;
    margin-bottom: 18px;
}
.hero h1 span { color: var(--accent); }
.hero p.lead {
    color: var(--text-dim); font-size: clamp(15px, 1.6vw, 18px);
    max-width: 620px; margin: 0 auto 24px;
}

/* --- Bloco de preço promocional --- */
.price-block {
    margin: 30px auto 26px;
    text-align: center;
}
.price-old {
    display: inline-block;
    font-size: 18px;
    color: var(--text-dim);
    text-decoration: line-through;
    text-decoration-color: rgba(192, 57, 43, 0.6);
    text-decoration-thickness: 2px;
    margin-bottom: 4px;
}
.price-new {
    font-size: clamp(36px, 5vw, 48px);
    color: var(--text);
    font-weight: 800;
    line-height: 1.1;
    margin: 4px 0 10px;
    letter-spacing: -1px;
}
.price-new .currency {
    font-size: 0.55em;
    vertical-align: super;
    margin-right: 4px;
    font-weight: 600;
    color: var(--text-dim);
}
.price-new .amount { color: var(--accent); }
.price-save {
    display: inline-block;
    background: rgba(39, 174, 96, 0.15);
    color: var(--success);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff; padding: 16px 36px;
    font-size: 16px; font-weight: 700;
    text-decoration: none; border-radius: 6px;
    transition: background .15s, transform .15s;
    box-shadow: 0 4px 20px rgba(255, 138, 0, 0.25);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-primary svg { vertical-align: middle; margin-left: 8px; }

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--text);
    padding: 14px 30px;
    font-size: 14px; font-weight: 600;
    text-decoration: none; border-radius: 6px;
    border: 1px solid var(--border);
    transition: background .15s, border-color .15s;
}
.btn-secondary:hover { background: var(--bg-panel); border-color: var(--accent); }

.price-tag {
    display: inline-block;
    background: rgba(39, 174, 96, 0.15);
    color: var(--success);
    padding: 6px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 600;
    margin-bottom: 24px;
}
.guarantee {
    color: var(--text-dim); font-size: 12px;
    margin-top: 18px;
}

/* --- Features --- */
.features {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}
.section-title {
    text-align: center;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: 8px;
}
.section-subtitle {
    text-align: center; color: var(--text-dim);
    margin-bottom: 44px;
    font-size: 15px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.feature {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
}
.feature .icon {
    width: 38px; height: 38px;
    background: var(--accent); color: #fff;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700;
    margin-bottom: 14px;
}
.feature h3 {
    font-size: 16px; font-weight: 700; margin-bottom: 8px;
}
.feature p {
    color: var(--text-dim); font-size: 14px; line-height: 1.55;
}

/* --- Faq --- */
.faq { padding: 60px 0; border-top: 1px solid var(--border); }
details {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0;
    margin-bottom: 12px;
    overflow: hidden;
}
details summary {
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-size: 22px; }
details[open] summary::after { content: "−"; }
details > div {
    padding: 0 22px 22px;
    color: var(--text-dim);
    font-size: 14px; line-height: 1.6;
}

/* --- CTA Final --- */
.cta-final {
    padding: 70px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-panel) 100%);
}
.cta-final h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700; margin-bottom: 14px;
}
.cta-final p {
    color: var(--text-dim); margin-bottom: 30px;
}
.cta-final .price-block {
    margin: 18px auto 28px;
}

/* --- Página de Download --- */
.download-hero {
    padding: 80px 0 50px;
    text-align: center;
}
.download-hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800; letter-spacing: -1px;
    margin-bottom: 14px;
}
.download-hero p {
    color: var(--text-dim);
    font-size: 16px;
    margin-bottom: 32px;
}
.download-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    text-align: left;
}
.download-card h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.download-card .version-info {
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 22px;
}
.download-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin: 22px 0;
}
.download-meta-item {
    background: var(--bg-card);
    border-radius: 6px;
    padding: 12px 14px;
}
.download-meta-item .label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}
.download-meta-item .value {
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
}
.download-button-wrap { text-align: center; margin-top: 24px; }

/* --- Botão "Disponível em breve" (estado pré-lançamento) --- */
.btn-soon {
    display: inline-block;
    background: var(--bg-card);
    color: var(--text-dim);
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    border: 1px dashed var(--border);
    cursor: not-allowed;
    -webkit-user-select: none;
    user-select: none;
}
.soon-note {
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.55;
    margin-top: 14px;
}

.steps {
    margin-top: 50px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.steps h3 {
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: center;
}
.steps ol {
    padding-left: 0;
    list-style: none;
    counter-reset: step;
}
.steps li {
    padding: 16px 18px 16px 56px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
}
.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}
.steps li strong {
    color: var(--text);
    display: block;
    margin-bottom: 2px;
}

.support-block {
    margin: 50px auto 0;
    max-width: 560px;
    text-align: center;
    padding: 22px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.support-block h4 {
    color: var(--text);
    font-size: 14px;
    margin-bottom: 6px;
}
.support-block p {
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.55;
}
.support-block a { color: var(--accent); text-decoration: none; }

/* --- Footer --- */
footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
}
footer a { color: var(--accent); text-decoration: none; }

@media (max-width: 600px) {
    nav a { display: none; }
    nav a:last-child { display: inline; }
    .download-meta { grid-template-columns: 1fr 1fr; }
}
