/* public/assets/css/style.css */

:root {
    --primary: #6d28d9;
    /* Roxo Profundo */
    --primary-hover: #5b21b6;
    --secondary: #10b981;
    /* Verde Esmeralda */
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --card-bg: #ffffff;
    --accent: #f59e0b;
    /* Laranja para urgência */
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.2;
}

h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 30px;
}

.input-text,
textarea,
select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.input-text:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    outline: none;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(109, 40, 217, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    margin-top: 10px;
}

.btn-pulsing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(109, 40, 217, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(109, 40, 217, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(109, 40, 217, 0);
    }
}

/* Views */
.view {
    display: none;
    animation: fadeIn 0.5s ease;
}

.view.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress Bar */
.progress-container {
    width: 100%;
    max-width: 600px;
    background: #e2e8f0;
    height: 8px;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--secondary);
    width: 0%;
    transition: width 0.5s ease;
}

/* Result Specifics */
.preview-text {
    font-style: italic;
    color: #475569;
    margin-bottom: 20px;
    background: #f1f5f9;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    text-align: left;
}

.blur-overlay {
    position: relative;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 80%);
}

.benefit-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 15px 0;
}

.benefit-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.urgency-banner {
    background: #fffbeb;
    color: #b45309;
    padding: 8px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: inline-block;
    border: 1px solid #fcd34d;
}

.price-box {
    margin: 20px 0;
}

.old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 1rem;
    margin-right: 10px;
}

.new-price {
    color: var(--secondary);
    font-size: 1.8rem;
    font-weight: bold;
}

.security-note {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 15px;
}

.spam-warning {
    background: #fef2f2;
    color: #991b1b;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #fecaca;
    font-size: 0.95rem;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 480px) {
    .card {
        padding: 25px;
    }

    h1 {
        font-size: 2rem;
    }
}