@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #DB0C3E;
    --primary-light: rgba(219, 12, 62, 0.15); /* Ajustado para melhor contraste baseado no rgba original */
    --text-black: #000000;
    --text-dark: #33000D;
    --text-muted: rgba(0, 0, 0, 0.50);
    --bg-white: #FFFFFF;
    --gray-light: #D9D9D9;
    --green: #038D00;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    background-color: #f5f5f5;
    min-height: 100vh;
}

/* Container do App imitando a largura do Figma (320px) */
.app-container {
    width: 320px;
    min-height: 100vh;
    background: var(--bg-white);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Header e Progresso */
.header {
    padding: 15px 14px;
    border-bottom: 0.5px solid var(--text-muted);
}
.header-title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 15px;
}
.back-icon {
    width: 17px;
    height: 17px;
    background: var(--gray-light);
    position: relative;
}
.back-icon::after {
    content: '';
    position: absolute;
    width: 11px;
    height: 11px;
    background: var(--text-black);
    top: 3px;
    left: 3px;
}
.progress-bar {
    display: flex;
    gap: 10px;
}
.step {
    flex: 1;
    height: 6px;
    background: rgba(219, 12, 62, 0.25);
    border-radius: 3px;
}
.step.active {
    background: var(--primary);
}

/* Conteúdo Principal */
.content {
    padding: 30px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 80px; /* Espaço para o botão fixo */
}

h1.title {
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    color: var(--text-black);
}
p.subtitle {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-black);
    margin-top: -10px;
}

/* Opções de Seleção */
.option-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.option-card {
    background: var(--primary-light);
    color: var(--text-dark);
    padding: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}
.option-card.active {
    background: var(--primary);
    color: var(--bg-white);
    font-weight: 600;
}

/* Inputs */
.input-field {
    width: 100%;
    padding: 12px;
    border: 0.5px solid var(--text-black);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    outline: none;
}

/* Botão Fixo no Rodapé */
.footer-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: var(--bg-white);
    border-top: 0.5px solid var(--text-muted);
}
.btn-primary {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: var(--bg-white);
    border: none;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Tela Específica: Index */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 276px;
    background: linear-gradient(138deg, #DB0C3E 0%, #750621 100%);
    z-index: 0;
}
.index-content {
    position: relative;
    z-index: 1;
    margin-top: 290px;
    padding: 0 14px;
}
.index-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.radio-box {
    width: 20px;
    height: 20px;
    background: var(--text-black);
    border-radius: 50%;
}
.index-option.active .radio-box {
    background: var(--primary);
}

/* Tela Específica: Planos */
.features-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px;}
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500;}
.check-icon { width: 16px; height: 12px; background: var(--green); }
.pricing-card { background: #F3F3F3; border-radius: 8px; padding: 16px; display: flex; justify-content: space-between; align-items: center; margin-top: 20px; position: relative;}
.pricing-badge { position: absolute; top: -12px; right: 10px; background: var(--green); color: white; padding: 4px 8px; border-radius: 5px; font-size: 12px; font-weight: 700;}