/* Modern Values Clarification Styles */

/* Discovery Options */
.discovery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.discovery-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.discovery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.discovery-card .card-icon {
    font-size: 3rem;
    color: #7c3aed;
    margin-bottom: 1rem;
}

.discovery-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.discovery-card p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Question Container */
.question-container {
    margin-top: 2rem;
}

.question-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.question-header {
    text-align: center;
    margin-bottom: 2rem;
}

.question-number {
    color: #7c3aed;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.question-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0;
}

.question-options {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-card {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(124, 58, 237, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.option-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.option-card.selected {
    border-color: #7c3aed;
    background: rgba(124, 58, 237, 0.05);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
}

.option-content {
    flex: 1;
}

.option-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.option-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.value-tag {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.option-selector {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(124, 58, 237, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.option-card.selected .option-selector {
    background: #7c3aed;
    border-color: #7c3aed;
    color: white;
}

.question-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Discovered Values */
.discovered-values-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.card-header p {
    color: #6b7280;
    font-size: 1.1rem;
}

.discovered-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.discovered-value-card {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(124, 58, 237, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.discovered-value-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-rank {
    background: #7c3aed;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.value-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.value-frequency {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.value-actions {
    margin-top: 1rem;
}

.btn-add-value {
    background: #7c3aed;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-value:hover {
    background: #6d28d9;
    transform: translateY(-2px);
}

.discovered-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Manual Selection */
.manual-selection-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.search-section {
    margin-bottom: 2rem;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(124, 58, 237, 0.1);
    border-radius: 25px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.search-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    color: #1f2937;
}

.search-input-group input::placeholder {
    color: #9ca3af;
}

.search-icon {
    color: #7c3aed;
    margin-right: 0.75rem;
}

.btn-icon {
    background: #7c3aed;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.btn-icon:hover {
    background: #6d28d9;
    transform: scale(1.1);
}

.values-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(124, 58, 237, 0.1);
    color: #6b7280;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: rgba(124, 58, 237, 0.3);
    color: #7c3aed;
}

.filter-btn.active {
    background: #7c3aed;
    border-color: #7c3aed;
    color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(124, 58, 237, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.value-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-card.selected {
    border-color: #7c3aed;
    background: rgba(124, 58, 237, 0.05);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
}

.value-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.value-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.value-category {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.value-description {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.value-actions {
    text-align: center;
}

.btn-toggle-value {
    background: #7c3aed;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-toggle-value:hover {
    background: #6d28d9;
    transform: translateY(-2px);
}

.selected-values-section {
    margin-bottom: 2rem;
}

.selected-values-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.selected-values-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.selected-value-tag {
    background: #7c3aed;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.remove-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.selection-actions {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .discovery-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .discovery-card {
        padding: 1.5rem;
    }
    
    .question-card {
        padding: 1.5rem;
    }
    
    .question-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .discovered-values-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .values-categories {
        justify-content: center;
    }
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* Modern Navigation */
.modern-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-back:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(-2px);
}

.progress-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(#6366f1 0deg, #e5e7eb 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

/* Hero Section */
.values-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    color: white;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-card i {
    font-size: 1.5rem;
    color: #fbbf24;
}

/* Progress Section */
.progress-section {
    background: white;
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.progress-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.progress-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-track::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-indicator {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.progress-step.active .step-indicator {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.progress-step.completed .step-indicator {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.step-number {
    font-weight: 700;
    font-size: 1.1rem;
}

.step-icon {
    display: none;
}

.progress-step.active .step-number {
    display: none;
}

.progress-step.active .step-icon {
    display: block;
    font-size: 1.2rem;
}

.step-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Workflow Steps */
.workflow-step {
    display: none;
    background: white;
    margin: 2rem 0;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.workflow-step.active {
    display: block;
}

.step-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.step-header {
    text-align: center;
    margin-bottom: 3rem;
}

.step-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.step-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Discovery Section */
.discovery-section {
    margin-bottom: 3rem;
}

.search-container {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.search-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.modern-search-bar {
    position: relative;
    margin-bottom: 1.5rem;
}

.modern-search-bar input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.modern-search-bar input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #6366f1;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #4f46e5;
    transform: translateY(-50%) scale(1.05);
}

.search-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: #6366f1;
    background: #6366f1;
    color: white;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.value-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s;
}

.value-card:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
}

.value-card:hover::before {
    left: 100%;
}

.value-card.selected {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.05);
}

.value-card.selected::after {
    content: '✓';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.value-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.value-description {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.4;
}

.value-category {
    display: inline-block;
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

/* Custom Values */
.custom-values-section {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.custom-values-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-input-container {
    display: flex;
    gap: 1rem;
}

.custom-input-container input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.custom-input-container input:focus {
    outline: none;
    border-color: #6366f1;
}

.add-btn {
    background: #6366f1;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-btn:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

/* Selected Values */
.selected-values-section {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.selected-values-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.selected-values-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.selected-value {
    background: white;
    border: 2px solid #6366f1;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #6366f1;
    position: relative;
    animation: slideIn 0.3s ease;
}

.selected-value .remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.selected-value .remove-btn:hover {
    background: #fef2f2;
}

.empty-state {
    text-align: center;
    color: #6b7280;
    padding: 2rem;
}

.empty-state i {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.btn-secondary {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* Ranking Section */
.ranking-container {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.ranking-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ranking-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ranking-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: move;
    transition: all 0.3s ease;
    position: relative;
}

.ranking-item:hover {
    border-color: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.ranking-item.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.ranking-number {
    width: 40px;
    height: 40px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.ranking-content {
    flex: 1;
}

.ranking-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.ranking-description {
    font-size: 0.9rem;
    color: #6b7280;
}

.drag-handle {
    color: #9ca3af;
    cursor: grab;
    font-size: 1.2rem;
}

.drag-handle:active {
    cursor: grabbing;
}

/* Conflict Analysis */
.conflict-analysis {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.conflict-header {
    text-align: center;
    margin-bottom: 2rem;
}

.conflict-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.conflict-results {
    display: grid;
    gap: 1.5rem;
}

.conflict-card {
    background: white;
    border: 2px solid #fef3c7;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #f59e0b;
}

.conflict-card h4 {
    color: #92400e;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.conflict-card p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.conflict-solution {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #0ea5e9;
}

.conflict-solution h5 {
    color: #0c4a6e;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.conflict-solution p {
    color: #0369a1;
    font-size: 0.85rem;
    margin: 0;
}

/* Life Areas */
.life-areas {
    margin-bottom: 2rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.area-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.area-card:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
}

.area-card.selected {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.05);
}

.area-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.area-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.area-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.area-value {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Tracking Dashboard */
.tracking-dashboard {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.tracking-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tracking-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tracking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tracking-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.progress-percentage {
    font-size: 1.25rem;
    font-weight: 700;
    color: #6366f1;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.success-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.modal-content p {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .progress-track {
        flex-direction: column;
        gap: 2rem;
    }
    
    .progress-track::before {
        display: none;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .custom-input-container {
        flex-direction: column;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .tracking-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .step-container {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .step-header h2 {
        font-size: 2rem;
    }
}
