/* Unique Features Styles */

/* AI Recommendations Widget */
.ai-recommendations-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.ai-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ai-header h3 {
    margin: 0;
    font-size: 1.2em;
}

.ai-refresh {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-refresh:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(180deg);
}

.recommendation-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

.rec-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.rec-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    opacity: 0.8;
}

.match-score {
    background: rgba(76, 175, 80, 0.8);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

/* Impact Visualizer */
.impact-visualizer-widget {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.impact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.impact-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.impact-tab {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.impact-tab.active {
    background: #2196F3;
    color: white;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.metric-card {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.metric-value {
    font-size: 2em;
    font-weight: bold;
    color: #2196F3;
}

.metric-label {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.chart-container {
    position: relative;
    height: 200px;
    margin: 20px 0;
}

/* Smart Export Widget */
.smart-export-widget {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-width: 280px;
}

.export-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.export-header h3 {
    margin: 0;
    color: #333;
}

.export-toggle {
    background: #4CAF50;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.export-toggle:hover {
    background: #45a049;
    transform: scale(1.1);
}

.export-content {
    padding: 20px;
}

.export-options {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.export-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.export-btn:hover {
    border-color: #4CAF50;
    background: #f8fff8;
}

.export-icon {
    font-size: 1.2em;
}

.qr-section {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.qr-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.qr-info {
    flex: 1;
}

.qr-info p {
    margin: 0 0 10px 0;
    color: #666;
}

/* Trend Tracker Widget */
.trend-tracker-widget {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.trend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.trend-controls {
    display: flex;
    gap: 10px;
}

.trend-refresh, .trend-settings {
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trend-refresh:hover, .trend-settings:hover {
    background: #e0e0e0;
}

.trending-topics h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.trend-item {
    padding: 12px;
    border-radius: 8px;
    margin: 8px 0;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.trend-item.high-relevance {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #FF9800;
}

.trend-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.trend-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.trend-topic {
    font-weight: 500;
    color: #333;
}

.trend-growth {
    background: #4CAF50;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

.trend-growth.hot {
    background: #FF5722;
    animation: pulse 2s infinite;
}

.trend-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    color: #666;
}

.trend-chart {
    margin: 20px 0;
    text-align: center;
}

.trend-alerts h4 {
    margin: 15px 0 10px 0;
    color: #333;
}

.trend-alert {
    padding: 10px;
    border-radius: 8px;
    margin: 5px 0;
    font-size: 0.9em;
}

.trend-alert.hot {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

.trend-alert.relevant {
    background: #e8f5e8;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

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

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header button {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #999;
}

.modal-body {
    padding: 20px;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.interest-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.interest-tag button {
    background: none;
    border: none;
    color: #1976d2;
    cursor: pointer;
    font-weight: bold;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.smart-export-widget {
    animation: slideIn 0.5s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .smart-export-widget {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px;
        min-width: auto;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .qr-container {
        flex-direction: column;
        text-align: center;
    }
    
    .trend-item {
        margin: 5px 0;
    }
}

/* Unique Features Section Styles */
.unique-features-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.unique-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.features-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.features-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-benefits li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

/* Interactive Visualizations Styles */
.visualization-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.chart-placeholder {
    height: 150px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.network-graph {
    position: relative;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 10px;
    overflow: hidden;
}

.network-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.network-connection {
    position: absolute;
    height: 1px;
    background: rgba(76, 175, 80, 0.5);
    transform-origin: left center;
}

/* Real-Time Data Indicators */
.realtime-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(76, 175, 80, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.realtime-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Multi-Format Export Preview */
.export-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.export-format {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.export-format:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.export-format-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.export-format-name {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Mobile Integration QR Display */
.qr-showcase {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.qr-code-demo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #333;
    text-align: center;
    line-height: 1.2;
}

.qr-info-text {
    flex: 1;
}

.qr-info-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.qr-info-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Trend Intelligence Display */
.trend-preview {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.trend-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.trend-preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.trend-preview-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.trend-name {
    font-weight: 500;
}

.trend-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.trend-arrow {
    color: #4caf50;
    font-weight: bold;
}

.trend-percentage {
    background: rgba(76, 175, 80, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Career Growth Impact Section */
.career-impact {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.career-impact h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.impact-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.impact-point {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.impact-point:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.impact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.impact-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.impact-description {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Call to Action */
.features-cta {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.cta-text {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

/* Responsive Design for Unique Features */
@media (max-width: 768px) {
    .unique-features-section {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
    
    .features-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .export-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .qr-showcase {
        flex-direction: column;
        text-align: center;
    }
    
    .impact-points {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .career-impact {
        padding: 1.5rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .features-header h2 {
        font-size: 1.8rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .export-preview {
        grid-template-columns: 1fr;
    }
    
    .trend-preview-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
/* AI Recommendation Tab Styles */
.ai-recommendations-tab {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

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

.ai-tab-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.ai-brain-icon {
    animation: pulse 2s infinite;
}

.ai-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    background: rgba(76, 175, 80, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.ai-status-dot {
    width: 6px;
    height: 6px;
    background: #4caf50;
    border-radius: 50%;
    animation: blink 1s infinite;
}

.ai-recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.ai-recommendation-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.ai-recommendation-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.recommendation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.recommendation-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
}

.ai-confidence-score {
    background: rgba(76, 175, 80, 0.8);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.recommendation-description {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.recommendation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ai-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.ai-learning-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.85rem;
}

.learning-icon {
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ai-personalization-controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.ai-control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.ai-insights-summary {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border-left: 4px solid #4caf50;
}

.insights-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.insights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.insights-list li {
    padding: 0.3rem 0;
    font-size: 0.85rem;
    opacity: 0.9;
    position: relative;
    padding-left: 1rem;
}

.insights-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #4caf50;
}

/* AI Tab Responsive Design */
@media (max-width: 768px) {
    .ai-recommendations-tab {
        padding: 1rem;
        margin: 0.5rem 0;
    }
    
    .ai-tab-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .recommendation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .ai-personalization-controls {
        flex-wrap: wrap;
    }
    
    .ai-control-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}