:root {
    --primary: #0A0E27;
    --secondary: #1a1d3a;
    --accent-cyan: #00D4FF;
    --accent-purple: #6C5CE7;
    --accent-green: #10B981;
    --accent-orange: #F59E0B;
    --professional-primary: #0F172A;
    --professional-secondary: #1E293B;
    --professional-accent: #3B82F6;
    --professional-success: #10B981;
    --professional-warning: #F59E0B;
    --professional-error: #EF4444;
}

/* =========================================
   COMPACT MOBILE-FIRST STYLING FÖR TOOLS SIDAN
   ========================================= */

/* Globala komprimeringsstilar */
.compact-body {
    font-family: 'Inter', sans-serif; 
    background: linear-gradient(135deg, var(--professional-primary) 0%, var(--professional-secondary) 100%);
    color: white;
    min-height: 100vh;
    scroll-behavior: smooth;
}

.compact-main {
    padding-top: 5rem !important;
    padding-bottom: 2rem !important;
}

.compact-section {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.compact-hero {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

/* Kompakt navigering */
.compact-nav {
    height: 64px !important;
    background: rgba(10, 14, 39, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.compact-nav .flex.justify-between {
    padding: 0.5rem 0 !important;
}

/* Kompakt hero-sektion */
#home h1 {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
}

#home p.text-xl {
    font-size: 1.1rem !important;
    margin-bottom: 1.5rem !important;
}

.compact-badge {
    font-size: 0.75rem !important;
}

.compact-badges {
    gap: 0.5rem !important;
}

/* Kompakt tool cards */
.compact-tool-grid {
    gap: 0.75rem !important;
    margin: 1rem 0 !important;
}

.compact-tool-card {
    padding: 1rem !important;
    min-height: auto !important;
    border-radius: 0.75rem !important;
}

.compact-tool-card .w-12 {
    width: 2.5rem !important;
    height: 2.5rem !important;
}

.compact-tool-card .text-lg {
    font-size: 1rem !important;
}

/* Kompakt GDPR-sektion */
#gdpr-checker .professional-card {
    padding: 1rem !important;
}

#gdpr-checker .text-center.mb-12 {
    margin-bottom: 2rem !important;
}

#gdpr-checker .w-20 {
    width: 4rem !important;
    height: 4rem !important;
}

#gdpr-checker .text-4xl {
    font-size: 2rem !important;
}

/* Kompakt frågecontainer */
.compact-question-container {
    height: 350px !important;
    padding: 1rem !important;
}

.compact-question-container .p-8 {
    padding: 1.5rem !important;
}

/* Kompakt progress tracker */
.compact-progress-tracker {
    margin: 1rem 0 !important;
}

.compact-progress-tracker .progress-step {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.8rem !important;
}

/* Kompakt resultatpanel */
.compact-results-panel {
    padding: 1.5rem !important;
    margin-top: 1rem !important;
}

/* Kompakt ROI-sektion */
#roi-calc .professional-card {
    padding: 1rem !important;
}

#roi-calc .text-center.mb-12 {
    margin-bottom: 2rem !important;
}

#roi-calc .w-20 {
    width: 4rem !important;
    height: 4rem !important;
}

#roi-calc .text-4xl {
    font-size: 2rem !important;
}

/* Kompakt ROI input form */
.compact-roi-inputs {
    padding: 1.5rem !important;
}

.compact-roi-inputs .space-y-8 {
    gap: 1.5rem !important;
}

/* Kompakt sliders */
.compact-slider {
    margin: 0.5rem 0 !important;
}

.compact-slider .space-y-4 {
    gap: 0.5rem !important;
}

/* Kompakt footer */
.compact-footer {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.compact-footer .mb-8 {
    margin-bottom: 1.5rem !important;
}

/* Kompakt knappar */
.compact-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.holographic-text {
    background: linear-gradient(45deg, #00D4FF, #6C5CE7, #00D4FF);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: holographic 3s ease-in-out infinite;
}

@keyframes holographic {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* Enhanced Animations */
.fade-in {
    animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.6s ease-out forwards;
}

@keyframes slideIn {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.pulse-glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(0,212,255,0.5); }
    50% { box-shadow: 0 0 20px rgba(0,212,255,0.8); }
}

.progress-ring {
    transition: stroke-dashoffset 1s ease;
}

/* Enhanced Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 3px;
}

/* Enhanced Interactive Elements */
.tool-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tool-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;
}

.tool-card:hover::before {
    left: 100%;
}

.nav-item {
    position: relative;
    transition: all 0.3s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.input-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
    outline: none;
}

.input-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0,212,255,0.5);
}

.input-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0,212,255,0.5);
    border: none;
}

/* Enhanced Loading States */
.loading-spinner {
    border: 2px solid rgba(255,255,255,0.1);
    border-top: 2px solid var(--accent-cyan);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Results Display */
.result-card {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.result-card:hover {
    transform: translateY(-3px);
}

/* GDPR Risk Indicators */
.risk-low { background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2)); border-color: rgba(16, 185, 129, 0.5); }
.risk-medium { background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2)); border-color: rgba(245, 158, 11, 0.5); }
.risk-high { background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2)); border-color: rgba(239, 68, 68, 0.5); }

/* ROI Visualization */
.roi-bar {
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    overflow: hidden;
}

.roi-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
    transition: width 1s ease;
}

/* Language Toggle */
.language-toggle {
    position: relative;
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.25rem;
    gap: 0.25rem;
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 500;
}

.lang-btn.active {
    background: var(--accent-cyan);
    color: var(--primary);
}

.lang-btn:hover:not(.active) {
    color: white;
}

/* Sticky Question Navigation */
.sticky-question-nav {
    position: sticky;
    bottom: 16px;
    background: rgba(26, 29, 58, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px;
    margin-top: 16px;
    z-index: 10;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Question Options Animation */
.question-option {
    transition: all 0.3s ease;
}

.question-option:hover {
    transform: translateY(-2px);
}

.question-option.selected {
    border-color: rgba(108, 92, 231, 0.7);
    background: rgba(108, 92, 231, 0.1);
}

/* Privacy Modal Styles */
.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

/* Mobile Menu Styles */
.mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 29, 58, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.cookie-button {
    background: var(--accent-cyan);
    color: var(--primary);
    border: none;
    padding: 0.4rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.cookie-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 212, 255, 0.3);
}

.cookie-link {
    color: var(--accent-cyan);
    text-decoration: underline;
}

/* Privacy Modal Styles */
.privacy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.privacy-modal-overlay.show {
    display: flex;
}

.privacy-modal {
    background: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    max-width: 700px;
    width: 100%;
    max-height: 70vh;
    overflow-y: auto;
    position: relative;
}

.privacy-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.privacy-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.privacy-content {
    padding: 1.5rem;
}

.privacy-content h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
}

.privacy-content h3 {
    font-size: 1.1rem;
    margin: 1.25rem 0 0.5rem;
    color: white;
}

.privacy-content p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.privacy-content ul {
    margin-bottom: 0.75rem;
    padding-left: 1.25rem;
}

.privacy-content li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.nav-glass {
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Progress Tracking */
.progress-tracker {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    position: relative;
}

.progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.progress-step.active {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
    border-color: transparent;
}

.progress-step.completed {
    background: var(--accent-green);
    border-color: transparent;
}

.progress-tracker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 1px;
}

/* Question Container */
.question-container {
    height: 380px;
    overflow-y: auto;
    padding-right: 6px;
}

/* Data Management Controls */
.data-management {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.25rem;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Professional Design Enhancements */
.professional-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.professional-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Enhanced scenario bars */
.scenario-bar {
    margin-bottom: 1.25rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.scenario-bar.current {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
}

.bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10B981, #00D4FF);
    border-radius: 3px;
    transition: width 1s ease;
}

/* Cleaner typography */
.clean-typography {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

.compact-text {
    line-height: 1.4 !important;
}

.compact-text h1, .compact-text h2, .compact-text h3 {
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
}

.compact-text p {
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
}

/* Smart Notifications */
.smart-notification {
    position: fixed;
    top: 80px;
    right: 16px;
    background: rgba(26, 29, 58, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.75rem;
    max-width: 280px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: translateX(350px);
    transition: transform 0.3s ease;
    z-index: 1001;
}

.smart-notification.show {
    transform: translateX(0);
}

/* Scenario Management */
.scenario-manager {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.25rem;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scenario-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scenario-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(3px);
}

.scenario-item.active {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.1);
}

/* Comparison Tools */
.comparison-tool {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.25rem;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-bars {
    display: flex;
    gap: 0.75rem;
    margin: 0.75rem 0;
}

.comparison-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

/* Export and Share Features */
.export-options {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.export-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
}

.export-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* GDPR Risk Matrix */
.risk-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.risk-matrix-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.risk-matrix-item.high {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.05);
}

.risk-matrix-item.medium {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.05);
}

.risk-matrix-item.low {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.05);
}

/* Enhanced Compliance Requirements */
.compliance-requirement {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.4rem;
    border-left: 3px solid var(--professional-accent);
}

.compliance-requirement.critical {
    border-left-color: var(--professional-error);
    background: rgba(239, 68, 68, 0.05);
}

.compliance-requirement.important {
    border-left-color: var(--professional-warning);
    background: rgba(245, 158, 11, 0.05);
}

.compliance-requirement.recommended {
    border-left-color: var(--professional-success);
    background: rgba(16, 185, 129, 0.05);
}

/* Legal Reference Styles */
.legal-reference {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.4rem;
    font-style: italic;
}

/* Advanced Risk Assessment */
.risk-assessment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.risk-assessment-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 0.75rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.risk-assessment-value {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.4rem;
}

.risk-assessment-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Recommendations */
.recommendation-card {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    margin: 0.4rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    transform: translateX(3px);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(0, 212, 255, 0.2));
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile-first media queries */
@media (max-width: 768px) {
    /* Ytterligare komprimering för mobil */
    .compact-main {
        padding-top: 4rem !important;
        padding-bottom: 1rem !important;
    }
    
    .compact-section {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    
    .compact-hero {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    #home h1 {
        font-size: 2rem !important;
    }
    
    #home p.text-xl {
        font-size: 1rem !important;
    }
    
    .compact-tool-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
    
    .compact-tool-card {
        padding: 0.75rem !important;
    }
    
    /* Stacka GDPR-sektionen vertikalt på mobil */
    #gdpr-checker .grid.grid-cols-1.lg\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Stacka ROI-sektionen vertikalt på mobil */
    #roi-calc .grid.grid-cols-1.xl\:grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .compact-question-container {
        height: 300px !important;
    }
    
    /* Mindre padding på alla kort */
    .professional-card,
    .bg-gray-900\/50 {
        padding: 1rem !important;
    }
    
    /* Kompakt sticky navigation */
    .sticky-question-nav {
        padding: 0.75rem !important;
        margin-top: 1rem !important;
    }
    
    /* Mindre knappar på mobil */
    .compact-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Mindre progress steps på mobil */
    .compact-progress-tracker .progress-step {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.7rem !important;
    }
    
    /* Mindre notification på mobil */
    .smart-notification {
        right: 8px;
        left: 8px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    /* Extra komprimering för mycket små skärmar */
    .compact-hero {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    #home h1 {
        font-size: 1.75rem !important;
    }
    
    .compact-tool-card {
        padding: 0.5rem !important;
    }
    
    .compact-tool-card .flex.items-center.gap-4 {
        gap: 0.75rem !important;
    }
    
    .professional-card {
        margin: 0.25rem !important;
        border-radius: 0.75rem !important;
    }
    
    .compact-question-container {
        height: 280px !important;
    }
    
    .export-options {
        flex-direction: column;
    }
    
    .risk-assessment-grid {
        grid-template-columns: 1fr;
    }
}

/* Ytterligare optimeringar för desktop */
@media (min-width: 769px) {
    .compact-section {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    /* Behåll något mer utrymme på desktop men fortfarande kompakt */
    #gdpr-checker .professional-card,
    #roi-calc .professional-card {
        padding: 1.5rem !important;
    }
}

/* Kompakt spacing utility classes */
.compact-space-y-6 > * + * {
    margin-top: 1rem !important;
}

.compact-space-y-4 > * + * {
    margin-top: 0.75rem !important;
}

.compact-space-y-2 > * + * {
    margin-top: 0.5rem !important;
}














/* Lägg till dessa regler för att centrera innehållet på desktop */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* För header-sektionen */
header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* För features-sektionen på desktop */
@media (min-width: 768px) {
    .features {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .feature {
        flex: 0 1 300px;
        text-align: center;
    }
}

/* För services-sektionen på desktop */
@media (min-width: 768px) {
    .services {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .service {
        flex: 0 1 300px;
        text-align: center;
    }
}

/* För cookie-meddelandet */
.cookie-notice {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}








