/* ==========================================================================
   LiquidFlow Configurator - CSS Stylesheet
   Design: Premium, Cyberpunk Dark Glassmorphism
   ========================================================================== */

/* Variables & Color Tokens */
:root {
    --bg-darker: #0b0b0e;
    --bg-dark: #121217;
    --bg-panel: rgba(22, 22, 30, 0.65);
    --border-glass: rgba(255, 255, 255, 0.07);
    --border-active: #00f0ff;
    
    --text-primary: #f0f2f5;
    --text-secondary: #9ea8b6;
    --text-muted: #647080;
    
    --accent-cyan: #00f0ff;
    --accent-purple: #bd00ff;
    --accent-magenta: #ff007a;
    --accent-gradient: linear-gradient(135deg, #00f0ff 0%, #bd00ff 100%);
    --accent-glow: 0 0 15px rgba(0, 240, 255, 0.35);
    
    --color-success: #00e676;
    --color-danger: #ff1744;
    --color-warning: #ffb300;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-header: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base resets & scrollbars */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(rgba(11, 11, 14, 0.82), rgba(11, 11, 14, 0.82)), url('pc_bg.png') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: #252530;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Background Ambient Glows */
.glow-bg {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

#glow1 {
    background: var(--accent-cyan);
    top: -200px;
    left: -200px;
    animation: pulseGlow 12s infinite alternate ease-in-out;
}

#glow2 {
    background: var(--accent-purple);
    bottom: -200px;
    right: -200px;
    animation: pulseGlow 15s infinite alternate-reverse ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.12; }
    100% { transform: scale(1.2) translate(80px, 50px); opacity: 0.22; }
}

/* Header */
.header {
    text-align: center;
    padding: 40px 20px 20px;
    position: relative;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.lang-switcher {
    position: absolute;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    transition: all 0.2s ease;
    outline: none;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.15);
    font-weight: 300;
    user-select: none;
}

.logo {
    font-family: var(--font-header);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ffffff 30%, #a2b1c6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 240, 255, 0.4));
    font-size: 2.6rem;
}

.logo .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 8px;
    font-family: var(--font-header);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Main Layout */
.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    flex: 1;
}

/* Glassmorphism Panels */
.panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: var(--transition-smooth);
}

.panel:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.panel-title {
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-glass);
}

.icon-title {
    color: var(--accent-cyan);
}

/* Inputs & Form Styling */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.group-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Custom Radio Toggle Group (AIO vs Custom & Soft vs Hard) */
.radio-toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 6px;
    gap: 6px;
}

.radio-toggle-group input[type="radio"] {
    display: none;
}

.radio-toggle-group label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.radio-toggle-group input[type="radio"]:checked + label {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-cyan);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-left: 2px solid var(--accent-cyan);
}

/* Custom Select Dropdowns */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.custom-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 14px 20px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    appearance: none;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.custom-select:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.custom-select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

/* Manual TDP Container */
.manual-tdp-container {
    margin-top: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-glass);
    border-radius: 10px;
    animation: slideDown 0.25s ease-out;
}

.sub-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: inline-block;
}

.custom-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.custom-input:focus {
    border-color: var(--accent-cyan);
}

/* Checkboxes style */
.checkbox-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-checkbox {
    position: relative;
}

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

.custom-checkbox label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.custom-checkbox label i {
    color: var(--text-muted);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.custom-checkbox label span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.custom-checkbox input[type="checkbox"]:checked + label {
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
}

.custom-checkbox input[type="checkbox"]:checked + label i {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.custom-checkbox input[type="checkbox"]:checked + label span {
    color: var(--text-primary);
}

/* Budget Selector Cards */
.budget-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.budget-selector input[type="radio"] {
    display: none;
}

.budget-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    min-height: 110px;
}

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

.budget-title {
    font-family: var(--font-header);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.budget-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    height: 24px;
    line-height: 1.2;
}

.budget-indicator {
    font-size: 0.85rem;
    margin-top: 10px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.budget-selector input[type="radio"]:checked + .budget-card {
    background: rgba(189, 0, 255, 0.05);
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(189, 0, 255, 0.15);
}

.budget-selector input[type="radio"]:checked + .budget-card .budget-indicator {
    color: var(--accent-purple);
    text-shadow: 0 0 8px rgba(189, 0, 255, 0.5);
}

/* RESULTS PANEL (RIGHT SIDE) */
.results-panel {
    gap: 20px;
}

/* Results Cards */
.results-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 20px;
}

/* Summary / TDP Card */
.summary-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    border-left: 4px solid var(--accent-cyan);
}

.tdp-display {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tdp-value-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.tdp-value-container .label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.tdp-value-container .value {
    font-family: var(--font-header);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.tdp-bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.tdp-bar {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    transition: width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.radiator-recommendation {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rad-icon {
    font-size: 1.8rem;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4));
}

.radiator-recommendation .label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    display: block;
}

.radiator-recommendation .value-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 2px;
}

/* Component recommendations styling */
.components-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-subtitle {
    font-family: var(--font-header);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.components-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* Component Card */
.component-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    transition: var(--transition-smooth);
}

.component-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.component-icon-container {
    width: 44px;
    height: 44px;
    background: rgba(0, 240, 255, 0.07);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-cyan);
}

.component-info {
    display: flex;
    flex-direction: column;
}

.comp-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comp-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1px;
}

.comp-details {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.comp-specs-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 4px;
    width: fit-content;
    border: 1px solid var(--border-glass);
}

/* Custom buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition-smooth);
}

.btn-search {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 240, 255, 0.15);
}

.btn-search:hover {
    background: var(--accent-cyan);
    color: var(--bg-darker);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    font-size: 0.95rem;
    padding: 12px 24px;
    box-shadow: 0 4px 15px rgba(189, 0, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(189, 0, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    font-size: 0.95rem;
    padding: 12px 24px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Strategic brand analysis card styling */
.brand-analysis-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.brand-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.brand-tags .label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.tags-container {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
}

.pro-contra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 5px;
    border-top: 1px solid var(--border-glass);
    padding-top: 15px;
}

.pro-col h4, .contra-col h4 {
    font-family: var(--font-header);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.text-success {
    color: var(--color-success);
}

.text-danger {
    color: var(--color-danger);
}

.bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bullet-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 14px;
    line-height: 1.4;
}

.bullet-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* Actions panel footer */
.export-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 10px;
}

/* Helpers & Utils */
.hidden {
    display: none !important;
}

/* Animations */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Notification Toast */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(18, 18, 23, 0.9);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-notification i {
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

.toast-notification span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Footer styling */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: auto;
    border-top: 1px solid var(--border-glass);
}

.footer-contact {
    margin-bottom: 15px;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.footer-link {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.social-link {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link.instagram:hover {
    color: #e1306c;
    box-shadow: 0 0 12px rgba(225, 48, 108, 0.4);
    border-color: #e1306c;
}

.social-link.facebook:hover {
    color: #1877f2;
    box-shadow: 0 0 12px rgba(24, 119, 242, 0.4);
    border-color: #1877f2;
}

.disclaimer-box {
    max-width: 900px;
    margin: 0 auto 20px;
    padding: 15px 20px;
    background: rgba(255, 23, 68, 0.03);
    border: 1px solid rgba(255, 23, 68, 0.15);
    border-radius: 10px;
    text-align: left;
}

.disclaimer-box p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.disclaimer-box strong {
    color: var(--color-danger);
}

/* Guide Card Styling */
#rigid-tubing-guide-card {
    border-left: 4px solid var(--accent-purple);
    animation: slideDown 0.3s ease-out;
}

.guide-intro {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.step-list {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.step-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.step-list li strong {
    color: var(--text-primary);
}

.video-tutorials {
    border-top: 1px solid var(--border-glass);
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-tutorials .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.video-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.video-links .btn {
    flex: 1;
    min-width: 200px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .summary-card {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .pro-contra-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .budget-selector {
        grid-template-columns: 1fr;
    }
    
    .export-actions {
        flex-direction: column;
    }
    
    .export-actions .btn {
        width: 100%;
    }
    
    .component-card {
        grid-template-columns: auto 1fr;
    }
    
    .component-card .btn-search {
        grid-column: 1 / span 2;
        width: 100%;
    }
    
    .logo {
        font-size: 2.2rem;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .lang-switcher {
        position: static;
        margin-top: 5px;
    }
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px auto 10px;
    z-index: 10;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

/* Blog Specific Styles */
.blog-sidebar-info {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-muted);
}

.sidebar-text {
    font-size: 0.95rem;
}

.blog-post-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.blog-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple));
    opacity: 0.6;
}

.blog-post-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.post-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.post-image-container {
    width: 100%;
    max-height: 380px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.post-image {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .post-image {
    transform: scale(1.02);
}

.post-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-summary {
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 12px;
}

.post-content {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.post-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 15px;
    margin-top: 15px;
}

.source-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    text-decoration: none;
    transition: all 0.2s ease;
}

.source-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

.no-posts {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-glass);
    border-radius: 8px;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
}

.btn-return-configurator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px dashed var(--accent-cyan) !important;
    color: var(--text-primary) !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
    cursor: pointer;
    margin-top: 5px;
    font-family: 'Inter', sans-serif;
}

.btn-return-configurator:hover {
    background: rgba(0, 240, 255, 0.1) !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.35);
    transform: translateY(-2px);
    border-style: solid !important;
    border-color: #00f0ff !important;
}

.btn-return-configurator i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
    filter: drop-shadow(0 0 3px rgba(0, 240, 255, 0.6));
}

.btn-return-configurator strong {
    color: var(--accent-cyan);
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Print Style Overrides (For 100% Reliable PDF Native Export)
   ========================================================================== */
@media print {
    /* Nascondi tutti gli elementi della pagina principale */
    body > * {
        display: none !important;
    }
    
    /* Mostra solo il contenitore temporaneo di stampa */
    #print-container-layout, 
    #print-container-layout * {
        display: block !important;
    }
    
    /* Forza la visualizzazione corretta delle tabelle */
    #print-container-layout table {
        display: table !important;
        width: 100% !important;
        border-collapse: collapse !important;
    }
    #print-container-layout thead {
        display: table-header-group !important;
    }
    #print-container-layout tbody {
        display: table-row-group !important;
    }
    #print-container-layout tr {
        display: table-row !important;
    }
    #print-container-layout th, 
    #print-container-layout td {
        display: table-cell !important;
    }
    
    /* Stili base per il layout di stampa */
    #print-container-layout {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        color: #121217 !important;
        background: #ffffff !important;
        font-family: 'Inter', Arial, sans-serif !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 10pt !important;
    }
    
    /* Forza la stampa dei colori di sfondo (es. PRO in verde, CONTRO in rosso, intestazione tabella) */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }
}
