/* LinkedIn Score Plugin - Zavira Design System */

/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Zavira Light Theme */
:root {
    --background: 0 0% 98%; /* Very light grey */
    --foreground: 0 0% 20%; /* Dark grey */
    --card: 0 0% 96%; /* Light grey card */
    --card-foreground: 0 0% 20%;
    --popover: 0 0% 96%;
    --popover-foreground: 0 0% 20%;
    --primary: 201 80% 23%; /* Azul profundo #0d4869 */
    --primary-foreground: 0 0% 98%; /* Branco suave */
    --secondary: 30 8% 85%; /* Cinza quente claro */
    --secondary-foreground: 0 0% 25%;
    --muted: 20 12% 88%; /* Cinza terroso claro */
    --muted-foreground: 0 0% 45%; /* Cinza médio */
    --accent: 201 80% 23%; /* Azul accent igual ao primary */
    --accent-foreground: 0 0% 98%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 210 40% 98%;
    --success: 142 71% 45%;
    --warning: 38 92% 50%;
    --border: 0 0% 85%; /* Light grey border */
    --input: 0 0% 90%;
    --ring: 201 80% 23%; /* Azul profundo */
    --radius: 0.5rem;
}

/* Reset e Base */
.linkedin-score-widget * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: hsl(var(--border));
}

.linkedin-score-widget {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    line-height: 1.65;
    letter-spacing: -0.025em;
    -webkit-font-smoothing: antialiased;
    position: relative;
    border-radius: calc(var(--radius) * 2);
    overflow: hidden;
}

/* Background with cosmic grid - Light Theme */
.linkedin-score-widget::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(64, 64, 64, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 64, 64, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    opacity: 0.4;
}

/* Selection styling */
.linkedin-score-widget ::selection {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

/* Zavira-Style Animations */
@keyframes lss-fadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes lss-slideDown {
    0% { 
        opacity: 0; 
        transform: translateY(-20px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes lss-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

@keyframes lss-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes lss-blob {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes lss-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Glassmorphism Utility Classes - Light Theme */
.cosmic-glass {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.premium-glass {
    backdrop-filter: blur(24px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.cosmic-card {
    background: linear-gradient(135deg, hsl(var(--card)), hsl(var(--card)/0.95), hsl(var(--card)/0.9));
    border: 1px solid hsl(var(--border));
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.floating-card {
    transform: translateY(0);
    transition: all 0.5s ease;
}

.floating-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.15);
}

.neon-border {
    position: relative;
    border: 1px solid hsl(var(--border));
}

.neon-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    background: linear-gradient(45deg, hsl(var(--primary)), hsl(var(--accent)), hsl(var(--primary)));
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.neon-border:hover::before {
    opacity: 0.8;
}

/* Header - Zavira Style */
.lss-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 1rem;
    animation: lss-slideDown 1s ease-out;
    position: relative;
}

.lss-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, hsl(var(--primary)), transparent);
    border-radius: 2px;
}

.lss-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
    letter-spacing: -0.035em;
    background: linear-gradient(135deg, hsl(var(--foreground)), hsl(var(--primary)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lss-header p {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Form - Glassmorphism Light */
.lss-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: calc(var(--radius) * 2);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    animation: lss-fadeIn 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.lss-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64,64,64,0.05), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.lss-form:hover::before {
    left: 100%;
}

.lss-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.15);
}

.lss-field {
    margin-bottom: 2rem;
}

.lss-field label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    font-size: 0.875rem;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    opacity: 0.9;
}

.lss-field input,
.lss-field textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    color: hsl(var(--foreground));
    transition: all 0.3s ease;
    line-height: 1.5;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lss-field input:focus,
.lss-field textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 0 3px hsla(var(--primary), 0.1),
        inset 0 1px 3px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.lss-field input::placeholder,
.lss-field textarea::placeholder {
    color: hsl(var(--muted-foreground));
    opacity: 0.7;
}

.lss-field textarea {
    resize: vertical;
    min-height: 120px;
}

.lss-field small {
    display: block;
    margin-top: 0.5rem;
    color: hsl(var(--muted-foreground));
    font-size: 0.75rem;
    line-height: 1.5;
    opacity: 0.8;
}

/* Help Section */
.help-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.help-button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.help-button:hover {
    background: #0052a3;
}

.help-arrow {
    transition: transform 0.3s ease;
}

/* Button Primary - Zavira Style */
.lss-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.125rem 2.5rem;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    color: hsl(var(--primary-foreground));
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: calc(var(--radius) + 2px);
    cursor: pointer;
    transition: all 0.4s ease;
    font-family: inherit;
    letter-spacing: -0.025em;
    gap: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 700;
}

.lss-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.lss-button:hover::before {
    left: 100%;
}

.lss-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--primary)));
}

.lss-button:active {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s ease;
}

.lss-button:disabled,
.lss-button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1);
    color: hsl(var(--muted-foreground));
    transform: none;
    box-shadow: none;
}

.lss-button img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Loading State - Zavira Light Glass */
.lss-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    animation: lss-fadeIn 0.3s ease-out;
}

.lss-loading .loading-container {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: calc(var(--radius) * 3);
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
    position: relative;
    overflow: hidden;
}

.lss-loading .loading-container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: lss-spin 3s linear infinite;
    z-index: -1;
}

.lss-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem auto;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-left: 3px solid hsl(var(--primary));
    border-radius: 50%;
    animation: lss-spin 1s linear infinite;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
}

.lss-loading p {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.lss-loading small {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.9;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background-color: hsl(var(--muted));
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
    width: 0%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Results */
.lss-result {
    animation: lss-fadeIn 1s ease-out;
}

/* Score Main Card - Zavira Light Glassmorphism */
.score-main-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: calc(var(--radius) * 2);
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: lss-fadeIn 1s ease-out, lss-float 6s ease-in-out infinite;
}

.score-main-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(64,64,64,0.05) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.5;
}

.score-badge {
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--foreground)) !important;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, hsl(var(--card)), hsl(var(--card)/0.9)) !important;
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid hsl(var(--border));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64,64,64,0.08), transparent);
    transition: left 0.6s;
}

.score-badge:hover::before {
    left: 100%;
}

/* Score Circle - Zavira Futuristic */
.score-circle-container {
    text-align: center;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

.score-circle {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.score-circle::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: conic-gradient(from 0deg, transparent, rgba(64,64,64,0.08), transparent);
    border-radius: 50%;
    animation: lss-spin 8s linear infinite;
    z-index: -1;
    opacity: 0.3;
}

.score-circle svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 220px;
    height: 220px;
    z-index: 1;
    overflow: visible;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.1));
}

.score-circle-bg {
    fill: none;
    stroke: rgba(0, 0, 0, 0.08);
    stroke-width: 8;
}

.score-circle-progress {
    fill: none;
    stroke: url(#scoreGradient);
    stroke-width: 8;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 8px rgba(13, 72, 105, 0.4));
}

.score-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.8), transparent);
    border-radius: 50%;
    padding: 2rem;
}

.score-number {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.035em;
    color: hsl(var(--foreground));
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, hsl(var(--foreground)), hsl(var(--primary)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: lss-pulse 2s ease-in-out infinite;
}

/* .score-label removido - não usado mais */

.score-text {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0066cc;
    letter-spacing: -0.025em;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 25px;
    border: 2px solid rgba(0, 102, 204, 0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: inline-block;
}

/* Interview Chance Card */
.interview-chance {
    flex: 1;
    min-width: 280px;
}

.interview-chance-card {
    background: linear-gradient(135deg, #0d4869 0%, #1a5a85 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(13, 72, 105, 0.3);
    animation: lss-float 6s ease-in-out infinite;
}

.chance-content {
    margin-bottom: 1rem;
}

.chance-level {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.chance-percentage {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.95;
}

.chance-description {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
    margin-top: 1rem;
}

/* Category Scores Section - Zavira Glass */
.category-scores-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: calc(var(--radius) * 2);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.category-scores-section::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.6s;
}

.category-scores-section:hover::before {
    left: 100%;
}

.category-scores-section h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-transform: uppercase;
    font-size: 1.125rem;
    opacity: 0.95;
}

.scores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.score-item {
    background: hsl(var(--background));
    padding: 1.5rem;
    border-radius: calc(var(--radius) - 2px);
    text-align: center;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.score-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.score-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1;
}

.score-category {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.3;
    font-weight: 500;
}

/* Score Item Colors - Single Color Only */
.score-item .score-value {
    color: hsl(var(--primary));
}

/* Analysis & Suggestions Sections */
.lss-analysis,
.lss-suggestions,
.interview-chance-section {
    background: hsl(var(--card));
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.lss-analysis h4,
.lss-suggestions h4,
.interview-chance-section h4 {
    font-size: 1.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.analysis-content {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    font-weight: 400;
}

/* Suggestions List */
.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestions-list li {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: hsl(var(--background));
    border-radius: calc(var(--radius) - 2px);
    border-left: 3px solid hsl(var(--primary));
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.6;
    color: hsl(var(--muted-foreground));
}

.suggestions-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.suggestion-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.875rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* CTA Conversion Section */
.lss-conversion {
    background: linear-gradient(135deg, hsla(var(--primary), 0.05) 0%, hsla(var(--primary), 0.02) 100%);
    border: 1px solid hsla(var(--primary), 0.2);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.conversion-box h4 {
    font-size: 1.875rem;
    font-weight: 600;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.conversion-text {
    font-size: 1rem;
    font-weight: 400;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.lss-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.lss-cta-button:hover {
    background: hsl(201, 80%, 28%);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(13, 72, 105, 0.3);
    text-decoration: none;
    color: hsl(var(--primary-foreground));
}

/* Action Buttons */
.lss-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.lss-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: hsl(var(--primary));
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid hsl(var(--primary));
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.lss-button-secondary:hover {
    background: hsla(var(--primary), 0.05);
    transform: translateY(-1px);
}

.lss-button-secondary img {
    width: 18px;
    height: 18px;
}

/* Platform Icons for Loading */
.platform-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.platform-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    opacity: 0.3;
}

.platform-icon.active {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.platform-icon.linkedin { 
    background: linear-gradient(135deg, #0077b5, #005885); 
    color: white;
}

/* Error State */
.lss-error {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    border-left: 4px solid hsl(var(--destructive));
    margin-bottom: 2rem;
}

.lss-error h4 {
    color: hsl(var(--destructive));
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.lss-error p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.lss-try-again {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lss-try-again:hover {
    background: hsla(var(--secondary), 0.8);
    transform: translateY(-1px);
}

/* Responsive Design - Mobile First */
@media (max-width: 1024px) {
    .linkedin-score-widget {
        padding: 1.5rem;
        margin: 1rem auto;
    }
    
    .scores-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .score-item {
        padding: 1.25rem;
    }
    
    .score-value {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .linkedin-score-widget {
        padding: 1rem;
        margin: 0.5rem auto;
    }
    
    .lss-header {
        margin-bottom: 2rem;
    }
    
    .lss-header h3 {
        font-size: 1.875rem;
    }
    
    .lss-header p {
        font-size: 1rem;
    }
    
    .lss-form {
        padding: 1.5rem;
    }
    
    .score-display {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .score-circle-container {
        order: 1;
    }
    
    .interview-chance {
        order: 2;
        width: 100%;
        min-width: unset;
    }
    
    .interview-chance-card {
        padding: 1.5rem;
        animation: none; /* Remove animação flutuante no mobile */
    }
    
    .scores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .score-item {
        padding: 1rem;
    }
    
    .score-value {
        font-size: 1.5rem;
    }
    
    .score-category {
        font-size: 0.8rem;
    }
    
    .lss-analysis,
    .lss-suggestions,
    .interview-chance-section,
    .category-scores-section {
        padding: 1.5rem;
    }
    
    .lss-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .lss-button-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .lss-conversion {
        padding: 2rem 1.5rem;
    }
    
    .conversion-box h4 {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .linkedin-score-widget {
        margin: 0.5rem auto;
        padding: 1rem;
    }
    
    .lss-header {
        padding: 1.5rem 0.5rem;
        margin-bottom: 2rem;
    }
    
    .lss-header h3 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .lss-header p {
        font-size: 1rem;
    }
    
    .lss-form {
        padding: 2rem 1.5rem;
    }
    
    .lss-field {
        margin-bottom: 1.5rem;
    }
    
    .lss-field input,
    .lss-field textarea {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Help section responsivo */
    .help-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .help-button {
        font-size: 11px;
        padding: 8px 12px;
        width: 100%;
        justify-content: center;
    }
    
    /* Score main card mobile */
    .score-main-card {
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .score-badge {
        font-size: 0.75rem;
        padding: 0.875rem 1.5rem;
        word-break: break-word;
    }
    
    /* Score circle mobile - Zavira style */
    .score-circle {
        width: 180px;
        height: 180px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .score-circle svg {
        width: 180px !important;
        height: 180px !important;
        overflow: visible;
    }
    
    .score-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 100%;
        padding: 1.5rem;
    }
    
    .score-number {
        font-size: 3rem;
        font-weight: 700;
        line-height: 1;
    }
    
    .category-scores-section {
        padding: 2rem 1.5rem;
    }
    
    .scores-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .lss-button {
        padding: 1rem 2rem;
        font-size: 0.8rem;
    }
    
    /* .score-label removido */
    
    .chance-level {
        font-size: 1.5rem;
    }
    
    .chance-percentage {
        font-size: 1.25rem;
    }
    
    .chance-description {
        font-size: 0.9rem;
    }
    
    .scores-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .score-item {
        padding: 1rem;
    }
    
    .score-value {
        font-size: 1.75rem;
    }
    
    .suggestions-list li {
        padding: 0.75rem;
        font-size: 0.9rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .suggestion-number {
        align-self: flex-start;
        margin-right: 0;
        margin-bottom: 0.25rem;
    }
    
    .conversion-box h4 {
        font-size: 1.375rem;
    }
    
    .lss-cta-button {
        font-size: 1rem;
        padding: 0.875rem 2rem;
        width: 100%;
    }
    
    .lss-loading .loading-container {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .lss-spinner {
        width: 50px;
        height: 50px;
    }
    
    .lss-loading p {
        font-size: 1.125rem;
    }
    
    .lss-loading small {
        font-size: 0.9rem;
    }
    
    .platform-icons {
        gap: 0.75rem;
    }
    
    .platform-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Extra small devices (320px and down) */
@media (max-width: 375px) {
    .linkedin-score-widget {
        padding: 0.5rem;
    }
    
    .lss-header h3 {
        font-size: 1.375rem;
    }
    
    .lss-form,
    .lss-score,
    .lss-analysis,
    .lss-suggestions,
    .interview-chance-section,
    .category-scores-section {
        padding: 1rem;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
    }
    
    .score-circle.animate svg {
        width: 100px;
        height: 100px;
    }
    
    .score-number {
        font-size: 1.75rem;
    }
    
    .chance-level {
        font-size: 1.25rem;
    }
    
    .chance-percentage {
        font-size: 1.125rem;
    }
    
    .score-value {
        font-size: 1.5rem;
    }
    
    .conversion-box h4 {
        font-size: 1.25rem;
    }
}

/* Landscape orientation fixes for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .lss-header {
        margin-bottom: 1.5rem;
    }
    
    .lss-header h3 {
        font-size: 1.5rem;
    }
    
    .score-display {
        flex-direction: row;
        gap: 1rem;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
    }
    
    .score-circle.animate svg {
        width: 100px;
        height: 100px;
    }
    
    .interview-chance-card {
        padding: 1rem;
    }
    
    .chance-level {
        font-size: 1.25rem;
    }
    
    .chance-percentage {
        font-size: 1.125rem;
    }
}