/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Vibrant Colors */
    --primary: #7C3AED;
    --primary-light: #A78BFA;
    --primary-dark: #5B21B6;
    --accent-pink: #FF6B6B;
    --accent-teal: #4ECDC4;
    --accent-purple: #9B59B6;
    --accent-orange: #F39C12;
    --accent-red: #E74C3C;
    
    /* Neutrals */
    --bg-dark: #0F0F1A;
    --bg-card: #1A1A2E;
    --bg-card-hover: #252540;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B0;
    --text-muted: #6B6B7B;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    --gradient-card: linear-gradient(145deg, #1A1A2E 0%, #0F0F1A 100%);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
}

/* === HEADER === */
.app-header {
    background: var(--bg-card);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    padding: var(--space-sm) var(--space-lg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.app-title {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.brand:hover {
    opacity: 0.9;
}

.brand-logo {
    flex-shrink: 0;
}

.brand-logo svg {
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.app-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.user-controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.user-name {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.btn-login, .btn-logout, .btn-dashboard, .btn-admin {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-login {
    background: var(--primary);
    color: white;
}

.btn-login:hover {
    background: var(--primary-dark);
}

.btn-logout {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
}

.btn-logout:hover {
    color: var(--accent-red);
    border-color: var(--accent-red);
}

.btn-dashboard {
    background: rgba(124, 58, 237, 0.2);
    color: var(--primary-light);
}

.btn-dashboard:hover {
    background: rgba(124, 58, 237, 0.3);
}

.btn-admin {
    background: rgba(236, 72, 153, 0.2);
    color: #EC4899;
}

.btn-admin:hover {
    background: rgba(236, 72, 153, 0.3);
}

/* === BUTTONS === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-hero);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.6);
}

.btn-primary.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

/* === HOME PAGE === */
.home-container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: radial-gradient(ellipse at top, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    max-width: 600px;
}

.badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.2);
    color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.hero h1 {
    margin-bottom: var(--space-md);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 .highlight,
.patterns-preview h2 .highlight {
    background: linear-gradient(135deg, #EC4899 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
}

.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: var(--space-lg);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.avatars {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    background: var(--bg-card);
    border: 2px solid var(--bg-dark);
    border-radius: 50%;
    margin-right: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Patterns Preview */
.patterns-preview {
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
}

.patterns-preview h2 {
    margin-bottom: var(--space-lg);
}

.pattern-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-sm);
    max-width: 800px;
    margin: 0 auto;
}

.pattern-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid var(--accent);
}

.pattern-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pattern-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.pattern-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.pattern-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* How it works */
.how-it-works {
    padding: var(--space-xl) var(--space-lg);
    background: var(--bg-card);
    text-align: center;
}

.how-it-works h2 {
    margin-bottom: var(--space-lg);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 400px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step h3 {
    margin-bottom: 0.25rem;
}

.step p {
    font-size: 0.875rem;
}

/* CTA Final */
.cta-final {
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
}

.cta-card {
    background: var(--gradient-card);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    max-width: 500px;
    margin: 0 auto;
}

.cta-card h2 {
    margin-bottom: 0.5rem;
}

.cta-card p {
    margin-bottom: var(--space-lg);
}

/* === QUIZ PAGE === */
.quiz-container {
    min-height: 100vh;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

.progress-wrapper {
    margin-bottom: var(--space-lg);
}

.progress-bar {
    height: 6px;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-hero);
    border-radius: var(--radius-full);
    transition: width 0.4s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.question-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.question-card.slide-out {
    animation: slideOut 0.3s ease forwards;
}

.question-card.slide-in {
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideOut {
    to { opacity: 0; transform: translateX(-20px); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.question-number {
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.question-text {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    line-height: 1.4;
}

.options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.option-btn {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: left;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.option-btn:hover:not(:disabled) {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--primary);
}

.option-btn.selected {
    background: rgba(124, 58, 237, 0.2);
    border-color: var(--primary);
}

.option-btn:disabled {
    cursor: default;
}

.option-letter {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.option-text {
    flex: 1;
    padding-top: 3px;
}

/* Loading State */
.loading-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--bg-card);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === PROFILE FORM === */
.profile-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23A0A0B0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* === RESULT PAGE === */
.result-container {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-lg);
    padding-bottom: var(--space-xl);
}

.result-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.result-badge {
    display: inline-block;
    background: rgba(78, 205, 196, 0.2);
    color: var(--accent-teal);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.result-header h1 {
    font-size: 1.5rem;
}

/* Main Pattern Card */
.main-pattern-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(15, 15, 26, 0.8) 100%);
    border: 2px solid var(--pattern-color, var(--primary));
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.main-pattern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--pattern-color, var(--primary));
}

.pattern-icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-sm);
}

.pattern-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--pattern-color, var(--primary));
    margin-bottom: 0.5rem;
}

.pattern-name {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
}

.pattern-headline {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.pattern-description {
    font-size: 0.95rem;
}

/* Section Cards */
.section-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: 1rem;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Pattern Bars */
.pattern-bars {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.pattern-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bar-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.bar-emoji {
    font-size: 1.2rem;
}

.bar-name {
    flex: 1;
}

.bar-percentage {
    font-weight: 600;
    color: var(--text-primary);
}

.bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 0.8s ease;
}

/* Lists */
.manifestation-list,
.career-list {
    padding-left: 1.25rem;
}

.action-list {
    padding-left: 1.5rem;
    margin: 0;
    list-style-type: decimal;
    text-align: left;
}

.manifestation-list li,
.career-list li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.action-list li {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    text-align: left !important;
}

.analysis-text {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;
}

.encouragement-text {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
    font-style: italic;
    font-size: 0.95rem;
    text-align: left;
}

/* Risk Card */
.risk-card {
    background: linear-gradient(145deg, rgba(231, 76, 60, 0.1) 0%, var(--bg-card) 100%);
    border-left: 3px solid var(--accent-red);
}

.risk-text {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Career CTA */
.career-intro {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.career-cta {
    margin-top: var(--space-lg);
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.career-cta p {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.btn-career {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-teal), var(--primary));
    color: white;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    opacity: 0.5;
    cursor: not-allowed;
}

.coming-soon {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Share Section */
.share-section {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.share-section h3 {
    margin-bottom: var(--space-md);
}

.share-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn.copy {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-btn.pdf {
    background: var(--primary);
    color: white;
}

.share-btn:hover {
    transform: scale(1.05);
}

/* Restart */
.restart-section {
    text-align: center;
}

.btn-restart {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.btn-restart:hover {
    color: var(--text-primary);
}

/* Disclaimer */
.disclaimer-section {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    text-align: center;
}

.disclaimer-section h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.disclaimer-section p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.disclaimer-section .disclaimer-note {
    margin-top: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(243, 156, 18, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.disclaimer-section .sources-list {
    list-style: none;
    padding: 0;
    margin: var(--space-sm) 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer-section .sources-list li {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.disclaimer-section .sources-list li:last-child {
    border-bottom: none;
}

/* === CAREER PAGE === */
.career-page {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.career-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.back-link a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
}

.back-link a:hover {
    color: var(--text-primary);
}

.pattern-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
}

.career-hero {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.career-hero h1 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.impact-section {
    margin-bottom: var(--space-xl);
}

.impact-section h2 {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.impact-list {
    list-style: none;
    padding: 0;
}

.impact-list li {
    display: flex;
    gap: 0.75rem;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
}

.impact-icon {
    flex-shrink: 0;
}

.offer-section {
    margin-bottom: var(--space-xl);
}

.offer-section h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.offer-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.offer-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
}

.offer-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.offer-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.offer-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cta-section {
    margin-bottom: var(--space-xl);
}

.price-card {
    background: var(--gradient-card);
    border: 2px solid var(--pattern-color, var(--primary));
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
}

.price-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.price-value {
    margin-bottom: var(--space-sm);
}

.price-value .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price-value .amount {
    font-size: 3.5rem;
    font-weight: 800;
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.btn-purchase {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: var(--gradient-hero);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.6);
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--space-md);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.faq-section {
    margin-bottom: var(--space-xl);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
}

.faq-item h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Career Quiz */
.career-quiz.entrada .progress-fill {
    background: linear-gradient(135deg, #4ECDC4, #1A1A2E);
}

.career-quiz.crescimento .progress-fill {
    background: linear-gradient(135deg, #9B59B6, #1A1A2E);
}

.career-quiz.transicao .progress-fill {
    background: linear-gradient(135deg, #F39C12, #1A1A2E);
}

.career-quiz.autoemprego .progress-fill {
    background: linear-gradient(135deg, #E74C3C, #1A1A2E);
}

/* Career Result */
.career-result-container {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.premium-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    color: #000 !important;
}

.pattern-reminder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.context-reminder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--primary-light);
    background: rgba(124, 58, 237, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.risk-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.risk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.risk-header h2 {
    font-size: 1.1rem;
}

.risk-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.risk-low { background: rgba(46, 204, 113, 0.2); color: #2ecc71; }
.risk-medium { background: rgba(241, 196, 15, 0.2); color: #f1c40f; }
.risk-high { background: rgba(231, 76, 60, 0.2); color: #e74c3c; }

.risk-bar-container {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.risk-bar {
    flex: 1;
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.risk-fill {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #f1c40f, #e74c3c);
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

.risk-percentage {
    font-weight: 600;
    font-size: 0.875rem;
}

.risk-explanation {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.insight-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    text-align: center;
}

.insight-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.insight-card h3 {
    margin-bottom: var(--space-sm);
}

.insight-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.block-card {
    border-left: 4px solid var(--pattern-color, var(--primary));
}

.dont-card {
    background: linear-gradient(145deg, rgba(231, 76, 60, 0.1), var(--bg-card));
    border-left: 4px solid var(--accent-red);
}

.plan-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.plan-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
}

.plan-icon {
    font-size: 1.25rem;
}

.plan-header h3 {
    font-size: 1rem;
}

.plan-list {
    padding-left: 1.5rem;
}

.plan-list li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.plan-90 {
    background: linear-gradient(145deg, rgba(78, 205, 196, 0.1), var(--bg-card));
}

.summary-card {
    background: var(--gradient-card);
    border: 1px solid var(--pattern-color, var(--primary));
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.summary-card h3 {
    margin-bottom: var(--space-sm);
}

.summary-card > p {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.summary-list {
    list-style: none;
    padding: 0;
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.875rem;
}

.summary-label {
    color: var(--text-muted);
}

.summary-value {
    font-weight: 600;
}

.final-message {
    text-align: center;
    padding: var(--space-xl) 0;
}

.final-message h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.final-message p {
    color: var(--text-secondary);
}

/* Button Career Active */
.btn-career {
    opacity: 1 !important;
    cursor: pointer !important;
}

/* Career Context Selection */
.career-context-page {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.context-hero {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.context-hero h1 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: var(--space-md);
}

.context-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.context-card {
    display: block;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.context-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.context-card input[type="radio"] {
    display: none;
}

.context-card input[type="radio"]:checked + .card-content {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.card-content {
    padding: var(--space-lg);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
}

.card-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--space-sm);
}

.context-card h3 {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.context-card p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
}

.card-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-benefits li {
    padding: 0.25rem 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1rem;
}

.card-benefits li:before {
    content: "•";
    color: var(--primary-light);
    position: absolute;
    left: 0;
}

.context-submit {
    text-align: center;
    margin-top: var(--space-lg);
}

.context-note {
    text-align: center;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.context-note p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Header */
.app-header {
    background: var(--bg-dark);
    padding: var(--space-sm) var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-title {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

.user-controls {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.user-name {
    color: var(--text-primary);
    font-weight: 600;
}

.btn-logout {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.btn-login {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background: var(--primary);
    color: white;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.login-options {
    margin-top: var(--space-md);
}

.btn-google {
    width: 100%;
    background: white;
    color: #757575;
    border: none;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}
.btn-google svg {
    margin-right: 0.5rem;
}

@media (min-width: 768px) {
    .steps {
        flex-direction: row;
        max-width: 800px;
        gap: var(--space-lg);
    }
    
    .step {
        flex: 1;
    }
    
    .pattern-cards {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .option-btn {
        padding: var(--space-md) var(--space-lg);
    }
}

/* === ADMIN PANEL === */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.admin-header h1 {
    margin: 0;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    font-size: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.stat-subtext {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* === DEMOGRAPHICS SECTION === */
.demographics-section {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.demographics-section h2 {
    margin-top: 0;
    margin-bottom: var(--space-lg);
    color: var(--primary-light);
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.demo-card {
    background: rgba(15, 15, 26, 0.5);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-card.highlight {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.demo-card h4 {
    margin: 0 0 var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.demo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.demo-list li:last-child {
    border-bottom: none;
}

.demo-list li.no-data {
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

.demo-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.demo-value {
    font-weight: 600;
    color: var(--primary-light);
    background: rgba(124, 58, 237, 0.15);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.demo-card.highlight .demo-value {
    background: var(--primary);
    color: white;
}

.filters-section {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.filters-section h2 {
    margin-top: 0;
    margin-bottom: var(--space-md);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.filter-group input,
.filter-group select {
    padding: 0.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    color: var(--text-primary);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    margin: 0;
}

.section-header p {
    color: var(--text-muted);
    margin: 0;
}

.users-section h2 {
    margin-bottom: var(--space-lg);
}

.table-container {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: var(--space-lg);
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    white-space: nowrap;
}

.users-table th,
.users-table td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.users-table th {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.users-table td small {
    display: block;
    color: var(--text-muted);
    font-size: 0.7rem;
}

.users-table tr:last-child td {
    border-bottom: none;
}

.users-table tr:hover {
    background: var(--bg-card-hover);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-completed {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.status-pending {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
}

.status-cancelled {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(156, 163, 175, 0.2);
    color: #9CA3AF;
}

.no-data {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: var(--space-xl);
}

.action-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.btn-small {
    padding: 0.2rem 0.4rem;
    font-size: 0.65rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.btn-tiny {
    padding: 0.15rem 0.3rem;
    font-size: 0.6rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-warning {
    background: #f59e0b;
    color: white;
    border: 1px solid #f59e0b;
}

.btn-warning:hover {
    background: #d97706;
    border-color: #d97706;
}

.btn-danger {
    background: #ef4444;
    color: white;
    border: 1px solid #ef4444;
}

.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pagination-info {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.pagination-controls {
    display: flex;
    gap: 0.25rem;
}

.btn-pagination {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    color: var(--text-primary);
}

.btn-pagination:hover:not(.disabled) {
    background: var(--bg-card-hover);
}

.btn-pagination.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-pagination.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* === DASHBOARD === */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.dashboard-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.dashboard-header h1 {
    margin: 0 0 var(--space-sm) 0;
    color: var(--primary);
}

.dashboard-header p {
    color: var(--text-secondary);
    margin: 0;
}

.diagnoses-section h2,
.actions-section h2 {
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.diagnoses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.diagnosis-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease;
}

.diagnosis-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.diagnosis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.diagnosis-header h3 {
    margin: 0;
    color: var(--primary);
}

.diagnosis-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.diagnosis-content p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

.no-diagnoses {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.no-diagnoses p {
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.action-card {
    display: block;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.action-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

.action-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.user-details-section {
    margin-bottom: var(--space-xl);
}

.user-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.user-card h2 {
    margin-top: 0;
    color: var(--primary);
}

.user-card p {
    margin: 0.5rem 0;
}

.diagnoses-section h3 {
    margin-bottom: var(--space-lg);
}

.diagnoses-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.diagnosis-detail-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.diagnosis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.diagnosis-header h4 {
    margin: 0;
    color: var(--primary);
}

.diagnosis-content ul {
    padding-left: 1.5rem;
}

.diagnosis-content li {
    margin-bottom: 0.25rem;
}

/* === CAREER PAYMENT === */
.career-payment-container {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.career-payment-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.career-payment-header h1 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.payment-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pattern-summary {
    margin-bottom: var(--space-lg);
}

.pattern-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.pattern-header h2 {
    margin: 0 0 var(--space-xs) 0;
    color: var(--pattern-color, var(--primary));
}

.pattern-header p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pattern-emoji {
    font-size: 2rem;
}

.pattern-description p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.payment-details {
    margin-bottom: var(--space-lg);
}

.price-section {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    background: rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-md);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--space-xs);
    color: var(--primary);
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.price-description {
    margin: 0;
    color: var(--text-secondary);
}

.benefits h3 {
    margin-top: 0;
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

.benefits ul {
    padding-left: 1.5rem;
    margin: 0;
}

.benefits li {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

.help-text {
    margin-top: var(--space-xs);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.payment-security {
    text-align: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
}

.payment-security p {
    margin: var(--space-xs) 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* === PAYMENT PROCESSING === */
.payment-processing-container {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.payment-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.payment-header h1 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.processing-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.processing-animation {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(124, 58, 237, 0.2);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.payment-info {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: var(--text-primary);
}

.info-item span {
    color: var(--text-secondary);
    text-align: right;
    word-break: break-all;
}

.instructions h3 {
    margin-top: 0;
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

.instructions ol {
    padding-left: 1.5rem;
    margin: 0 0 var(--space-lg) 0;
}

.instructions li {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

.manual-confirmation {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
}

.manual-confirmation p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

.error-message {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    color: #e74c3c;
    text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .career-payment-container,
    .payment-processing-container {
        padding: var(--space-md);
    }
    
    .pattern-header {
        flex-direction: column;
        text-align: center;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .payment-info {
        font-size: 0.875rem;
    }
}

/* === DASHBOARD STATUS SECTION === */
.status-section {
    margin-bottom: var(--space-xl);
}

.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.status-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-card.completed {
    border-color: rgba(46, 204, 113, 0.3);
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(46, 204, 113, 0.1) 100%);
}

.status-card.available {
    border-color: rgba(124, 58, 237, 0.3);
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(124, 58, 237, 0.1) 100%);
}

.status-card.locked {
    opacity: 0.6;
}

.status-card.pending {
    border-color: rgba(241, 196, 15, 0.3);
}

.status-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.status-info h3 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.status-info p {
    font-size: 0.875rem;
    margin: 0;
}

.btn-action {
    margin-left: auto;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Dashboard Diagnoses */
.diagnosis-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-sm);
}

.diagnosis-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.diagnosis-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.diagnosis-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.diagnosis-actions .btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.diagnosis-actions .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Action Cards Improved */
.action-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
}

.action-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.action-card.highlight {
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(124, 58, 237, 0.2) 100%);
    border-color: rgba(124, 58, 237, 0.4);
}

.action-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.action-card h3 {
    margin-bottom: 0.5rem;
}

.action-card p {
    font-size: 0.875rem;
    margin: 0;
}

/* === ADMIN IMPROVEMENTS === */
.status-cancelled {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.btn-tiny {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-left: 0.25rem;
    transition: all 0.2s ease;
}

.btn-tiny.btn-success {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.btn-tiny.btn-success:hover {
    background: rgba(46, 204, 113, 0.4);
}

.btn-tiny.btn-warning {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
}

.btn-tiny.btn-warning:hover {
    background: rgba(241, 196, 15, 0.4);
}

/* === MOBILE OPTIMIZATIONS === */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero {
        padding: var(--space-md);
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .btn-primary {
        width: 100%;
        padding: 1rem 1.5rem;
    }
    
    .status-card {
        flex-wrap: wrap;
        text-align: center;
    }
    
    .status-icon {
        width: 100%;
    }
    
    .status-info {
        width: 100%;
        text-align: center;
    }
    
    .btn-action {
        margin: var(--space-sm) auto 0;
        width: 100%;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .diagnoses-grid {
        grid-template-columns: 1fr;
    }
    
    .diagnosis-actions {
        flex-direction: column;
    }
    
    .diagnosis-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    /* Admin table mobile */
    .users-table {
        font-size: 0.75rem;
    }
    
    .users-table th,
    .users-table td {
        padding: 0.5rem 0.25rem;
    }
    
    .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .btn-small {
        font-size: 0.7rem;
        padding: 0.35rem 0.5rem;
    }
    
    /* Payment form mobile */
    .payment-card {
        padding: var(--space-md);
    }
    
    .price-value {
        flex-direction: row;
        align-items: baseline;
        gap: 0.25rem;
    }
    
    .price-value .amount {
        font-size: 2.5rem;
    }
    
    /* Quiz mobile */
    .quiz-container {
        padding: var(--space-md);
    }
    
    .option-btn {
        padding: var(--space-md);
    }
    
    /* Result page mobile */
    .result-container {
        padding: var(--space-md);
    }
}

/* === APP FOOTER === */
.app-footer {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    margin-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.app-footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.footer-links {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-divider {
    color: var(--text-muted);
    margin: 0 0.5rem;
}

/* === LEGAL PAGES === */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.legal-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.legal-header h1 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.legal-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-content {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.legal-section {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
}

.legal-section h3 {
    color: var(--text-primary);
    font-size: 1rem;
    margin: var(--space-md) 0 var(--space-sm);
}

.legal-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.legal-section ul {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    margin: var(--space-sm) 0;
}

.legal-section li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.legal-back {
    text-align: center;
    margin-top: var(--space-lg);
}

.btn-back {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.btn-back:hover {
    opacity: 0.8;
}

/* === FEEDBACK WIDGET === */
.feedback-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.feedback-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-hero);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
    transition: all 0.3s ease;
}

.feedback-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.5);
}

.feedback-toggle.active {
    background: var(--bg-card);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.feedback-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(124, 58, 237, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: rgba(124, 58, 237, 0.1);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.feedback-header span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.feedback-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.feedback-close:hover {
    color: var(--text-primary);
}

.feedback-form {
    padding: var(--space-md);
}

.feedback-ratings {
    display: flex;
    justify-content: space-around;
    margin-bottom: var(--space-md);
}

.rating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-btn:hover {
    border-color: var(--primary);
    transform: scale(1.1);
}

.rating-btn.selected {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.2);
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

.feedback-form textarea {
    width: 100%;
    min-height: 80px;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.85rem;
    resize: vertical;
    margin-bottom: var(--space-sm);
}

.feedback-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.feedback-form textarea::placeholder {
    color: var(--text-muted);
}

.feedback-submit {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feedback-submit:hover:not(:disabled) {
    background: var(--primary-dark);
}

.feedback-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.feedback-success {
    padding: var(--space-xl);
    text-align: center;
}

.feedback-success .success-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.feedback-success p {
    color: var(--text-primary);
    font-weight: 500;
}

/* Responsivo */
@media (max-width: 480px) {
    .feedback-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .feedback-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .feedback-panel {
        width: calc(100vw - 30px);
        right: 0;
    }
}

/* === FEEDBACK ADMIN SECTION === */
.feedback-section {
    margin-top: var(--space-xl);
}

.feedback-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.feedback-stats {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.feedback-avg {
    background: var(--bg-card);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.1rem;
}

.feedback-total {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.feedback-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-height: 400px;
    overflow-y: auto;
}

.feedback-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feedback-item:last-child {
    border-bottom: none;
}

.feedback-rating {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feedback-content {
    flex: 1;
}

.feedback-meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.feedback-user {
    font-weight: 600;
    color: var(--primary-light);
}

.feedback-page {
    background: rgba(124, 58, 237, 0.2);
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-sm);
}

.feedback-comment {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

.feedback-comment.no-comment {
    color: var(--text-muted);
    font-style: normal;
}

/* === WHATSAPP CHANNEL CTA - GANCHO === */
.whatsapp-channel-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 2px solid rgba(37, 211, 102, 0.4);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.whatsapp-channel-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #25D366, var(--primary));
}

.channel-header {
    text-align: center;
}

.channel-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.channel-header h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin: 0;
}

.whatsapp-channel-cta .channel-content {
    text-align: center;
}

.channel-hook {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.channel-hook strong {
    color: #25D366;
}

.channel-promise {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.channel-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.channel-benefits li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.channel-benefits li strong {
    color: var(--text-primary);
}

.channel-urgency {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

.btn-whatsapp-channel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #25D366;
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    align-self: center;
    white-space: nowrap;
}

.btn-whatsapp-channel:hover {
    background: #1fb855;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

@media (min-width: 768px) {
    .channel-header h3 {
        font-size: 1.6rem;
    }
    
    .channel-benefits {
        max-width: 500px;
    }
}