/*
 * Directory Niche Finder Styles
 * Modern, clean, responsive design matching CSV calculator
 */

/* Container and Layout */
.dnf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
.dnf-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    border-radius: 16px;
    color: white;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
}

.dnf-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dnf-icon {
    font-size: 3rem;
    color: white !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.dnf-subtitle {
    font-size: 1.2rem;
    margin: 0;
    opacity: 1;
    max-width: 600px;
    margin: 0 auto;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Form Container */
.dnf-form-container {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: 1px solid #e1e5e9;
}

/* Sections */
.dnf-section {
    margin-bottom: 40px;
}

.dnf-section:last-child {
    margin-bottom: 0;
}

.dnf-section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 25px 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.section-icon {
    font-size: 1.6rem;
}

/* Form Rows and Fields */
.dnf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.dnf-field {
    display: flex;
    flex-direction: column;
}

.dnf-field label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.field-description {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 400;
    margin-top: 2px;
}

.dnf-field input,
.dnf-field select {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.dnf-field input:focus,
.dnf-field select:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

/* Discovery Mode */
.discovery-mode {
    margin-bottom: 30px;
}

.discovery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.discovery-option {
    margin: 0;
    cursor: pointer;
}

.discovery-option input[type="radio"] {
    display: none;
}

.option-card {
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.option-card:hover {
    border-color: #2a5298;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 82, 152, 0.15);
}

.discovery-option input[type="radio"]:checked + .option-card {
    border-color: #2a5298;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.2);
}

.option-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.option-content {
    flex: 1;
}

.option-content strong {
    display: block;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.option-content span {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}

/* Mode Fields */
.mode-fields {
    margin-top: 25px;
}

/* Discovery Preferences */
.discovery-preferences {
    margin-bottom: 25px;
}

.discovery-preferences h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.interest-tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.interest-tag {
    margin: 0;
    cursor: pointer;
}

.interest-tag input[type="checkbox"] {
    display: none;
}

.interest-tag span {
    display: block;
    padding: 10px 15px;
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.3s ease;
    cursor: pointer;
}

.interest-tag:hover span {
    border-color: #2a5298;
    background: #f8f9ff;
}

.interest-tag input[type="checkbox"]:checked + span {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: white;
    border-color: #2a5298;
    box-shadow: 0 2px 8px rgba(42, 82, 152, 0.3);
}

/* Textarea Styling */
textarea {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

textarea:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

/* Preference Toggles */
.dnf-preferences {
    display: grid;
    gap: 20px;
}

.preference-toggle {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e1e5e9;
    transition: all 0.3s ease;
}

.preference-toggle:hover {
    border-color: #2a5298;
    background: #f8f9ff;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    margin: 0;
}

.toggle-slider {
    position: relative;
    width: 50px;
    height: 26px;
    background: #ccc;
    border-radius: 26px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input[type="checkbox"]:checked + .toggle-slider {
    background: #2a5298;
}

input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(24px);
}

input[type="checkbox"] {
    display: none;
}

.preference-info {
    flex: 1;
}

.preference-info strong {
    display: block;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 4px;
}

.preference-info span {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Submit Button */
.dnf-submit {
    text-align: center;
    margin-top: 40px;
}

.dnf-button {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white !important;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.4);
}

.dnf-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.5);
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
}

.dnf-button:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.2rem;
    color: white !important;
}

/* Results Section */
.dnf-results {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: 1px solid #e1e5e9;
}

.results-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 30px 0;
    text-align: center;
}

/* Overall Score */
.overall-score-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.overall-score-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 2px solid #e1e5e9;
    min-width: 250px;
}

.overall-score-card h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 0 0 20px 0;
}

.score-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: conic-gradient(#2a5298 0deg, #2a5298 0deg, #e1e5e9 0deg, #e1e5e9 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
}

.score-number {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

.score-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

.score-description {
    color: #6c757d;
    font-size: 1rem;
    margin-top: 10px;
}

/* Scores Grid */
.scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.score-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border: 2px solid #e1e5e9;
    transition: all 0.3s ease;
}

.score-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.market-card {
    border-left: 4px solid #3498db;
}

.competition-card {
    border-left: 4px solid #9b59b6;
}

.profit-card {
    border-left: 4px solid #27ae60;
}

.fit-card {
    border-left: 4px solid #f39c12;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.card-icon {
    font-size: 1.4rem;
}

.card-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Score Meters */
.score-meter {
    position: relative;
    height: 8px;
    background: #e1e5e9;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #2a5298, #1e3c72);
    border-radius: 4px;
    transition: width 0.8s ease;
    width: 0%;
}

.meter-score {
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.score-insights {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

/* AI Insights Section */
.ai-insights-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 2px solid #e1e5e9;
}

.ai-insights-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-icon {
    font-size: 1.4rem;
}

.ai-insights-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-insight-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2a5298;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Risk Assessment */
.risk-assessment-section {
    margin-bottom: 30px;
}

.risk-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.risk-indicator {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e1e5e9;
}

.risk-level {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.risk-badge {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.risk-badge.low {
    background: #d4edda;
    color: #155724;
}

.risk-badge.medium {
    background: #fff3cd;
    color: #856404;
}

.risk-badge.high {
    background: #f8d7da;
    color: #721c24;
}

.risk-description {
    color: #6c757d;
    font-size: 1rem;
}

/* Recommendations */
.recommendations-section,
.next-steps-section {
    margin-bottom: 30px;
}

.recommendations-title,
.next-steps-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recommendations-list,
.next-steps-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recommendation-item,
.next-step-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2a5298;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Primary CTA Section */
.primary-cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
    border: 2px solid #e1e5e9;
}

.cta-card h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.cta-card p {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0 0 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.cta-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.feature-icon {
    font-size: 1.2rem;
}

.primary-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white !important;
    text-decoration: none;
    padding: 20px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.4);
    margin: 20px 0;
}

.primary-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.5);
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    text-decoration: none;
    color: white !important;
}

.cta-icon {
    font-size: 1.3rem;
}

.cta-guarantee {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 15px 0 0 0;
}

/* Guide Section */
.dnf-guide-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: 1px solid #e1e5e9;
}

.dnf-guide-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0 0 20px 0;
    text-align: center;
}

.dnf-guide-section h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 30px 0 15px 0;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 10px;
}

.guide-intro {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 30px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.guide-content {
    line-height: 1.7;
}

.guide-content p {
    color: #6c757d;
    margin-bottom: 20px;
}

.guide-content ul {
    color: #6c757d;
    padding-left: 20px;
    margin-bottom: 20px;
}

.guide-content li {
    margin-bottom: 8px;
}

.mistakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.mistake-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e1e5e9;
}

.mistake-card h4 {
    color: #e74c3c;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.mistake-card p {
    color: #6c757d;
    margin: 0 0 8px 0;
    font-size: 0.9rem;
}

/* Enhanced Guide Styling */
.guide-subsection {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #2a5298;
}

.guide-subsection h4 {
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.guide-tip {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #2196f3;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}

.guide-tip h4 {
    color: #1976d2;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.guide-tip p {
    color: #424242;
    margin: 0;
    font-style: italic;
}

.guide-cta {
    background: linear-gradient(135deg, #e8f5e8 0%, #f8f9fa 100%);
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid #4caf50;
    text-align: center;
}

.guide-cta p {
    color: #2e7d32;
    font-weight: 600;
    margin: 0;
    font-size: 1.05rem;
}

.guide-cta a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 700;
}

.guide-cta a:hover {
    text-decoration: underline;
}

.guide-final-cta {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 8px 30px rgba(30, 60, 114, 0.3);
}

.guide-final-cta h3 {
    color: white;
    margin: 0 0 20px 0;
    font-size: 1.8rem;
}

.guide-final-cta p {
    color: white;
    opacity: 0.9;
    margin: 0 0 30px 0;
    font-size: 1.1rem;
}

.action-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.action-step {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-step h4 {
    color: white;
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.action-step p {
    color: white;
    opacity: 0.9;
    margin: 0;
    font-size: 0.95rem;
}

.guide-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #2a5298 !important;
    text-decoration: none;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
}

.guide-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: #1e3c72 !important;
}

.guide-guarantee {
    color: white !important;
    opacity: 0.8 !important;
    font-size: 0.9rem !important;
    margin: 15px 0 0 0 !important;
}

.mistakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.mistake-card {
    background: #fff5f5;
    border: 2px solid #fed7d7;
    border-radius: 12px;
    padding: 20px;
}

.mistake-card h4 {
    color: #c53030;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.mistake-card p strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .guide-subsection,
    .guide-tip,
    .guide-cta {
        padding: 15px;
        margin: 15px 0;
    }
    
    .guide-final-cta {
        padding: 25px;
    }
    
    .action-steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .action-step {
        padding: 20px;
    }
    
    .guide-cta-button {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
}

/* Loading Overlay */
.dnf-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2a5298;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.loading-subtext {
    font-size: 1rem;
    opacity: 0.8;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* SEO Content */
.dnf-seo-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
}

.seo-section h3,
.seo-section h4 {
    color: #2c3e50;
    font-weight: 600;
}

.seo-section h3 {
    font-size: 1.5rem;
    margin: 0 0 20px 0;
}

.seo-section h4 {
    font-size: 1.2rem;
    margin: 25px 0 15px 0;
}

.seo-section p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 20px;
}

.seo-section ul {
    color: #6c757d;
    padding-left: 20px;
}

.seo-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dnf-container {
        padding: 15px;
    }
    
    .dnf-header {
        padding: 30px 15px;
    }
    
    .dnf-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .dnf-subtitle {
        font-size: 1rem;
    }
    
    .dnf-form-container,
    .dnf-results,
    .dnf-guide-section,
    .dnf-seo-content {
        padding: 25px;
    }
    
    .dnf-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .scores-grid,
    .cta-features {
        grid-template-columns: 1fr;
    }
    
    .toggle-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .overall-score-card {
        min-width: auto;
        width: 100%;
    }
    
    .discovery-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .interest-tags {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px;
    }
    
    .interest-tag span {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .dnf-icon {
        font-size: 2.5rem;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
    }
    
    .score-circle::before {
        width: 75px;
        height: 75px;
    }
    
    .score-number {
        font-size: 1.5rem;
    }
}