/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
}

/* Cores principais */
.bg-main {
    background-color: #0B1426;
}

/* Utilidades básicas */
.min-h-screen {
    min-height: 100vh;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.overflow-hidden {
    overflow: hidden;
}

.z-10 {
    z-index: 10;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-2xl {
    max-width: 42rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.w-full {
    width: 100%;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.text-white {
    color: white;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-yellow-400 {
    color: #fbbf24;
}

/* Estrelas animadas */
.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: pulse 3s infinite;
}

.star-1 { top: 10%; left: 15%; width: 4px; height: 4px; animation-delay: 0s; }
.star-2 { top: 20%; left: 80%; width: 4px; height: 4px; background-color: #fcd34d; animation-delay: 1s; }
.star-3 { top: 30%; left: 25%; width: 6px; height: 6px; animation-delay: 2s; }
.star-4 { top: 15%; left: 60%; width: 4px; height: 4px; background-color: #c084fc; animation-delay: 0.5s; }
.star-5 { top: 45%; left: 10%; width: 4px; height: 4px; animation-delay: 1.5s; }
.star-6 { top: 60%; left: 85%; width: 6px; height: 6px; background-color: #fcd34d; animation-delay: 2.5s; }
.star-7 { top: 70%; left: 30%; width: 4px; height: 4px; animation-delay: 3s; }
.star-8 { top: 80%; left: 70%; width: 4px; height: 4px; background-color: #c084fc; animation-delay: 0.8s; }
.star-9 { top: 25%; left: 45%; width: 4px; height: 4px; animation-delay: 1.8s; }
.star-10 { top: 55%; left: 55%; width: 6px; height: 6px; background-color: #fcd34d; animation-delay: 2.2s; }
.star-11 { top: 35%; left: 75%; width: 4px; height: 4px; animation-delay: 1.2s; }
.star-12 { top: 85%; left: 20%; width: 4px; height: 4px; background-color: #c084fc; animation-delay: 2.8s; }
.star-13 { top: 5%; left: 35%; width: 4px; height: 4px; animation-delay: 0.3s; }
.star-14 { top: 75%; left: 90%; width: 6px; height: 6px; background-color: #fcd34d; animation-delay: 1.7s; }
.star-15 { top: 40%; left: 5%; width: 4px; height: 4px; animation-delay: 2.3s; }
.star-16 { top: 90%; left: 50%; width: 4px; height: 4px; background-color: #c084fc; animation-delay: 0.7s; }
.star-17 { top: 12%; left: 90%; width: 4px; height: 4px; animation-delay: 1.4s; }
.star-18 { top: 65%; left: 15%; width: 6px; height: 6px; background-color: #fcd34d; animation-delay: 2.7s; }
.star-19 { top: 50%; left: 95%; width: 4px; height: 4px; animation-delay: 0.9s; }
.star-20 { top: 8%; left: 50%; width: 4px; height: 4px; background-color: #c084fc; animation-delay: 1.9s; }

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Luas */
.moon {
    position: absolute;
    border-radius: 50%;
}

.moon-1 {
    top: 20%;
    right: 10%;
    width: 2rem;
    height: 2rem;
    opacity: 0.2;
}

.moon-2 {
    bottom: 25%;
    left: 8%;
    width: 1.5rem;
    height: 1.5rem;
    opacity: 0.15;
}

.moon-gradient {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    animation: pulse 4s infinite;
}

.moon-yellow {
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    animation-delay: 3s;
    animation-duration: 4s;
}

.moon-purple {
    background: linear-gradient(135deg, #e9d5ff, #a855f7);
    animation-delay: 1s;
    animation-duration: 5s;
}

/* Constelações */
.constellation {
    position: absolute;
    opacity: 0.3;
}

.constellation-1 {
    top: 15%;
    left: 20%;
    width: 8rem;
    height: 6rem;
}

.constellation-2 {
    bottom: 30%;
    right: 15%;
    width: 7rem;
    height: 5rem;
    opacity: 0.25;
}

/* Planetas */
.planet {
    position: absolute;
    border-radius: 50%;
    animation: pulse 6s infinite;
}

.planet-red {
    top: 60%;
    left: 25%;
    width: 0.75rem;
    height: 0.75rem;
    background: linear-gradient(135deg, #f87171, #dc2626);
    opacity: 0.4;
    animation-delay: 2s;
    animation-duration: 6s;
}

.planet-blue {
    top: 35%;
    right: 25%;
    width: 0.5rem;
    height: 0.5rem;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    opacity: 0.35;
    animation-delay: 4s;
    animation-duration: 7s;
}

/* Ícone da estrela principal */
.star-icon-container {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.star-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #fcd34d;
    fill: currentColor;
}

/* Título principal */
.main-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .main-title {
        font-size: 4rem;
    }
}

.title-gradient {
    display: block;
    background: linear-gradient(90deg, #fcd34d, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Subtítulo */
.main-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Card de benefícios */
.benefits-card {
    background: linear-gradient(90deg, rgba(88, 28, 135, 0.5), rgba(30, 58, 138, 0.5));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.benefits-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.benefits-list {
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.benefit-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #fcd34d;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.benefit-text {
    color: #e5e7eb;
}

/* Botão principal */
.main-button {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    color: black;
    font-weight: 600;
    padding: 1.5rem 3rem;
    font-size: 1.125rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.main-button:hover {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(251, 191, 36, 0.25);
}

.button-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 0.75rem;
}

/* Informação de tempo */
.time-info {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 1.5rem;
}

/* Progress Bar */
.progress-container {
    height: 0.5rem;
    background-color: #374151;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    transition: width 0.3s ease;
    border-radius: 9999px;
}

/* Question Card */
.question-card {
    background-color: #1A2332;
    border: 1px solid #374151;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.question-icon-container {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.question-icon {
    width: 2rem;
    height: 2rem;
    color: #fcd34d;
    fill: currentColor;
}

.question-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.question-subtitle {
    color: #9ca3af;
    font-size: 1.125rem;
}

/* Form Content */
.form-content {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.form-input {
    width: 100%;
    background-color: #0F1419;
    border: 1px solid #4b5563;
    color: white;
    padding: 1rem;
    height: 3.5rem;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: #6b7280;
}

.form-input:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 0 1px #fbbf24;
}

.time-highlight {
    color: #fbbf24;
    font-size: 0.875rem;
    margin-top: 0.75rem;
    text-align: center;
    font-weight: 500;
}

/* Radio Groups */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 0.75rem;
    background-color: #0F1419;
    border: 1px solid #4b5563;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.radio-option:hover {
    border-color: #6b7280;
}

.radio-option.selected {
    border-color: #fbbf24;
    background-color: rgba(251, 191, 36, 0.1);
}

.radio-input {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #9ca3af;
    border-radius: 50%;
    margin-right: 1rem;
    position: relative;
    cursor: pointer;
}

.radio-input:checked {
    border-color: #fbbf24;
}

.radio-input:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #fbbf24;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.radio-label {
    color: white;
    font-size: 1.125rem;
    cursor: pointer;
    flex: 1;
}

/* Navigation Buttons */
.nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    padding: 0 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-button-outline {
    border: 1px solid #4b5563;
    color: #d1d5db;
    background-color: transparent;
}

.nav-button-outline:hover:not(:disabled) {
    background-color: #374151;
}

.nav-button-primary {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    color: black;
}

.nav-button-primary:hover:not(:disabled) {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.nav-button-success {
    background: linear-gradient(90deg, #10b981, #059669);
    color: white;
}

.nav-button-success:hover:not(:disabled) {
    background: linear-gradient(90deg, #059669, #047857);
}

.nav-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.nav-button .nav-icon:first-child {
    margin-right: 0.5rem;
}

.nav-button .nav-icon:last-child {
    margin-left: 0.5rem;
}

/* Final Message */
.final-message {
    margin-top: 2rem;
    background: linear-gradient(90deg, rgba(88, 28, 135, 0.5), rgba(30, 58, 138, 0.5));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(251, 191, 36, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.final-icon {
    width: 3rem;
    height: 3rem;
    color: #fbbf24;
    margin: 0 auto 1rem auto;
}

.final-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.final-text {
    color: #e5e7eb;
    font-size: 1.125rem;
}

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 0.75rem;
    background-color: #0F1419;
    border: 1px solid #4b5563;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.checkbox-option:hover {
    border-color: #6b7280;
}

.checkbox-option.selected {
    border-color: #fbbf24;
    background-color: rgba(251, 191, 36, 0.1);
}

.checkbox-input {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #9ca3af;
    border-radius: 0.25rem;
    margin-right: 1rem;
    position: relative;
    cursor: pointer;
}

.checkbox-input:checked {
    border-color: #fbbf24;
    background-color: #fbbf24;
}

.checkbox-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    color: black;
    font-size: 0.875rem;
    font-weight: bold;
    transform: translate(-50%, -50%);
}

.checkbox-label {
    color: white;
    font-size: 1.125rem;
    cursor: pointer;
    flex: 1;
}

/* Scale Input */
.scale-container {
    width: 100%;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.scale-label {
    font-weight: bold;
    color: #fbbf24;
}

.scale-label-center {
    text-align: center;
    flex: 1;
}

.scale-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.scale-input {
    width: 100%;
    height: 0.5rem;
    border-radius: 0.25rem;
    background: #374151;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.scale-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    cursor: pointer;
    border: 2px solid #0F1419;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.scale-input::-moz-range-thumb {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    cursor: pointer;
    border: 2px solid #0F1419;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.scale-value {
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1.125rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.scale-value::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 0.5rem solid transparent;
    border-top-color: #fbbf24;
}

/* Responsividade */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .benefits-card {
        padding: 1.5rem;
    }
    
    .question-card {
        padding: 1.5rem;
    }
    
    .main-button {
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }
    
    .nav-button {
        padding: 0 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .question-title {
        font-size: 1.5rem;
    }
    
    .benefits-card {
        padding: 1rem;
    }
    
    .question-card {
        padding: 1rem;
    }
}
