/* Custom CSS - stitch.css och motion.css sammanslaget */
        
        :root {
            /* Primärfärger - Marinblå */
            --primary-50: #f0f4f8;
            --primary-100: #d9e2ec;
            --primary-200: #bcccdc;
            --primary-300: #9fb3cc;
            --primary-400: #829ab9;
            --primary-500: #627d98;
            --primary-600: #486581;
            --primary-700: #334e68;
            --primary-800: #243b53;
            --primary-900: #102a43;
            
            /* Accentfärger - Guld */
            --accent-400: #f0d06e;
            --accent-500: #e5b83c;
            --accent-600: #d4af37;
            --accent-700: #b8961e;
            
            /* Funktionella färger */
            --success: #10b981;
            --success-light: #d1fae5;
            --error: #ef4444;
            --error-light: #fee2e2;
            --warning: #f59e0b;
            --warning-light: #fef3c7;
            
            /* Neutrala färger */
            --gray-50: #f9fafb;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-600: #4b5563;
            --gray-700: #374151;
            --gray-800: #1f2937;
            --gray-900: #111827;
            
            /* Typografi */
            --font-heading: 'Manrope', -apple-system, sans-serif;
            --font-body: 'Inter', -apple-system, sans-serif;
            
            /* Spacing */
            --spacing-xs: 0.25rem;
            --spacing-sm: 0.5rem;
            --spacing-md: 1rem;
            --spacing-lg: 1.5rem;
            --spacing-xl: 2rem;
            --spacing-2xl: 3rem;
            --spacing-3xl: 4rem;
            --spacing-4xl: 6rem;
            
            /* Border radius */
            --radius-sm: 0.375rem;
            --radius-md: 0.5rem;
            --radius-lg: 0.75rem;
            --radius-xl: 1rem;
            --radius-2xl: 1.5rem;
            --radius-full: 9999px;
            
            /* Shadows */
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
            --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
            --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: var(--font-body);
            color: var(--gray-800);
            background-color: #ffffff;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-heading);
            font-weight: 700;
            line-height: 1.2;
            color: var(--gray-900);
        }
        
        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: var(--shadow-sm);
            z-index: 1000;
            transition: all 0.3s ease;
        }
        
        .navbar.scrolled {
            box-shadow: var(--shadow-md);
        }
        
        .nav-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .logo {
            font-family: var(--font-heading);
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--primary-900);
            text-decoration: none;
            letter-spacing: -0.02em;
        }
        
        .logo span {
            color: var(--accent-600);
        }

        .logo {
            display: inline-flex;
            align-items: center;
            flex-shrink: 0;
        }

        .logo-image {
            display: block;
            width: auto;
            height: clamp(42px, 5vw, 64px);
        }
        
        .nav-links {
            display: flex;
            align-items: center;
            gap: 2rem;
        }
        
        .nav-link {
            color: var(--gray-700);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s;
            font-size: 1rem;
        }
        
        .nav-link:hover {
            color: var(--primary-700);
        }
        
        .nav-buttons {
            display: flex;
            gap: 1rem;
        }
        
        /* Knappar */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem 1.5rem;
            font-weight: 600;
            font-size: 1rem;
            border-radius: var(--radius-lg);
            text-decoration: none;
            transition: all 0.2s ease;
            cursor: pointer;
            border: none;
            font-family: var(--font-body);
            line-height: 1;
        }
        
        .btn-primary {
            background: var(--primary-900);
            color: white;
            box-shadow: var(--shadow-md);
        }
        
        .btn-primary:hover {
            background: var(--primary-800);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }
        
        .btn-secondary {
            background: transparent;
            color: var(--primary-900);
            border: 2px solid var(--primary-200);
        }
        
        .btn-secondary:hover {
            border-color: var(--primary-600);
            background: var(--primary-50);
        }
        
        .btn-accent {
            background: var(--accent-600);
            color: var(--gray-900);
            box-shadow: var(--shadow-md);
        }
        
        .btn-accent:hover {
            background: var(--accent-500);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }
        
        .btn-large {
            padding: 1rem 2rem;
            font-size: 1.125rem;
        }
        
        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 6rem 2rem 4rem;
            background: linear-gradient(135deg, var(--primary-50) 0%, #ffffff 50%, var(--primary-50) 100%);
            position: relative;
            overflow: hidden;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="60" height="60" fill="none"/><circle cx="30" cy="30" r="1.5" fill="%23334e68" opacity="0.1"/></svg>');
            opacity: 0.5;
        }
        
        .hero-container {
            max-width: 1280px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }
        
        .hero-content h1 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.1;
            letter-spacing: -0.02em;
        }
        
        .hero-content h1 span {
            color: var(--accent-600);
        }
        
        .hero-content p {
            font-size: 1.25rem;
            color: var(--gray-600);
            margin-bottom: 2rem;
            max-width: 540px;
        }
        
        .hero-stats {
            display: flex;
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .stat-item {
            display: flex;
            flex-direction: column;
        }
        
        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-900);
            font-family: var(--font-heading);
        }
        
        .stat-label {
            color: var(--gray-500);
            font-size: 0.875rem;
        }
        
        .hero-image {
            position: relative;
        }
        
        .hero-card {
            background: white;
            border-radius: var(--radius-2xl);
            padding: 2rem;
            box-shadow: var(--shadow-2xl);
            border: 1px solid var(--gray-200);
        }
        
        .category-preview {
            display: grid;
            gap: 1rem;
        }
        
        .category-item {
            display: flex;
            align-items: center;
            padding: 1rem;
            background: var(--gray-50);
            border-radius: var(--radius-lg);
            transition: all 0.2s;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
        }
        
        .category-item:hover {
            background: white;
            box-shadow: var(--shadow-md);
            transform: translateX(4px);
        }
        
        .category-icon {
            width: 48px;
            height: 48px;
            background: var(--primary-100);
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            font-size: 1.5rem;
        }
        
        .category-info h3 {
            font-size: 1.125rem;
            margin-bottom: 0.25rem;
        }
        
        .category-info p {
            font-size: 0.875rem;
            color: var(--gray-500);
            margin: 0;
        }
        
        /* Sektioner */
        .section {
            padding: 5rem 2rem;
        }
        
        .section-container {
            max-width: 1280px;
            margin: 0 auto;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }
        
        .section-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }
        
        .section-header p {
            font-size: 1.25rem;
            color: var(--gray-600);
            max-width: 600px;
            margin: 0 auto;
        }
        
        /* Kort-grid */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .feature-card {
            background: white;
            padding: 2rem;
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-md);
            border: 1px solid var(--gray-100);
            transition: all 0.3s;
        }
        
        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
        }
        
        .feature-icon {
            width: 56px;
            height: 56px;
            background: var(--primary-100);
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            font-size: 1.75rem;
        }
        
        .feature-card h3 {
            font-size: 1.25rem;
            margin-bottom: 0.75rem;
        }
        
        .feature-card p {
            color: var(--gray-600);
            margin-bottom: 1.5rem;
        }
        
        /* Steg */
        .steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }
        
        .step-item {
            text-align: center;
            padding: 2rem;
        }
        
        .step-number {
            width: 64px;
            height: 64px;
            background: var(--accent-600);
            color: var(--gray-900);
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.75rem;
            font-weight: 700;
            margin: 0 auto 1.5rem;
            font-family: var(--font-heading);
        }
        
        .step-item h3 {
            margin-bottom: 0.75rem;
        }
        
        /* Kategorikort */
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }
        
        .category-card {
            background: white;
            border-radius: var(--radius-2xl);
            padding: 2rem;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--gray-100);
            transition: all 0.3s;
            text-decoration: none;
            color: inherit;
            display: block;
        }
        
        .category-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-xl);
        }
        
        .category-card .category-header {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .category-card .category-icon-large {
            width: 64px;
            height: 64px;
            background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
            border-radius: var(--radius-xl);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            font-size: 2rem;
        }
        
        .category-card h3 {
            font-size: 1.5rem;
        }
        
        .subcategory-list {
            list-style: none;
            padding: 0;
        }
        
        .subcategory-list li {
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--gray-100);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .subcategory-list li:last-child {
            border-bottom: none;
        }
        
        .badge {
            background: var(--primary-100);
            color: var(--primary-700);
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius-full);
            font-size: 0.75rem;
            font-weight: 600;
        }
        
        /* FAQ */
        .faq-grid {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .faq-item {
            background: white;
            border-radius: var(--radius-lg);
            margin-bottom: 1rem;
            border: 1px solid var(--gray-200);
            overflow: hidden;
        }
        
        .faq-question {
            padding: 1.25rem 1.5rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: white;
            transition: background 0.2s;
        }
        
        .faq-question:hover {
            background: var(--gray-50);
        }
        
        .faq-answer {
            padding: 0 1.5rem 1.25rem;
            color: var(--gray-600);
            display: none;
        }
        
        .faq-item.active .faq-answer {
            display: block;
        }
        
        .faq-item.active .faq-question {
            background: var(--primary-50);
            color: var(--primary-900);
        }
        
        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
            color: white;
            padding: 5rem 2rem;
            text-align: center;
        }
        
        .cta-section h2 {
            color: white;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
        
        .cta-section p {
            color: var(--primary-100);
            font-size: 1.25rem;
            margin-bottom: 2rem;
        }
        
        /* Footer */
        .footer {
            background: var(--gray-900);
            color: var(--gray-300);
            padding: 4rem 2rem 2rem;
        }
        
        .footer-container {
            max-width: 1280px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
        }
        
        .footer-logo {
            font-family: var(--font-heading);
            font-size: 1.75rem;
            font-weight: 800;
            color: white;
            margin-bottom: 1rem;
        }
        
        .footer-logo span {
            color: var(--accent-600);
        }
        
        .footer-links h4 {
            color: white;
            margin-bottom: 1.25rem;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        
        .footer-links ul {
            list-style: none;
            padding: 0;
        }
        
        .footer-links li {
            margin-bottom: 0.75rem;
        }
        
        .footer-links a {
            color: var(--gray-400);
            text-decoration: none;
            transition: color 0.2s;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .footer-bottom {
            max-width: 1280px;
            margin: 3rem auto 0;
            padding-top: 2rem;
            border-top: 1px solid var(--gray-800);
            text-align: center;
            color: var(--gray-500);
        }
        
        /* Mobilmeny */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--gray-700);
        }
        
        /* Animationer */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        .animate-fade-in-up {
            animation: fadeInUp 0.6s ease-out;
        }
        
        .animate-fade-in {
            animation: fadeIn 0.4s ease-out;
        }
        
        .animate-slide-in {
            animation: slideInRight 0.5s ease-out;
        }
        
        /* Responsiv design */
        @media (max-width: 1024px) {
            .hero-container {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
            
            .hero-content {
                text-align: center;
            }
            
            .hero-content p {
                margin-left: auto;
                margin-right: auto;
            }
            
            .hero-stats {
                justify-content: center;
            }
            
            .hero-content h1 {
                font-size: 3rem;
            }
        }
        
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                padding: 1rem;
                flex-direction: column;
                gap: 1rem;
                box-shadow: var(--shadow-lg);
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .nav-buttons {
                flex-direction: column;
                width: 100%;
            }
            
            .nav-container {
                padding: 1rem;
            }
            
            .hero-content h1 {
                font-size: 2.5rem;
            }
            
            .section-header h2 {
                font-size: 2rem;
            }
            
            .categories-grid {
                grid-template-columns: 1fr;
            }
            
            .hero {
                padding: 5rem 1rem 3rem;
            }
        }
        
        @media (max-width: 480px) {
            .hero-content h1 {
                font-size: 2rem;
            }
            
            .hero-stats {
                flex-direction: column;
                gap: 1rem;
            }
            
            .btn-large {
                width: 100%;
            }
            
            .section {
                padding: 3rem 1rem;
            }
        }
        
        /* Demo Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }
        
        .modal.active {
            display: flex;
        }
        
        .modal-content {
            background: white;
            border-radius: var(--radius-2xl);
            padding: 2rem;
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            animation: slideInRight 0.3s ease-out;
        }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .modal-header h3 {
            font-size: 1.5rem;
        }
        
        .modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--gray-500);
        }
        
        .demo-question {
            margin-bottom: 1.5rem;
        }
        
        .demo-options {
            display: grid;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }
        
        .demo-option {
            padding: 1rem;
            background: var(--gray-50);
            border: 2px solid var(--gray-200);
            border-radius: var(--radius-lg);
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .demo-option:hover {
            border-color: var(--primary-300);
            background: white;
        }
        
        .demo-option.selected {
            border-color: var(--primary-600);
            background: var(--primary-50);
        }
        
        .demo-option.correct {
            border-color: var(--success);
            background: var(--success-light);
        }
        
        .demo-option.incorrect {
            border-color: var(--error);
            background: var(--error-light);
        }
        
        .demo-feedback {
            padding: 1rem;
            border-radius: var(--radius-lg);
            margin-bottom: 1rem;
        }
        
        .demo-feedback.success {
            background: var(--success-light);
            color: var(--success);
        }
        
        .demo-feedback.error {
            background: var(--error-light);
            color: var(--error);
        }

        .hero-cta-row {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .hero-card-title {
            margin-bottom: 1.5rem;
        }

        .category-card-note {
            margin-top: 1rem;
            color: var(--gray-500);
            font-size: 0.875rem;
        }

        .badge-success {
            background: var(--success-light);
            color: var(--success);
        }

        .section-muted {
            background: var(--gray-50);
        }

        .section-demo {
            background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
        }

        .section-container--center {
            text-align: center;
        }

        .demo-title {
            color: white;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .demo-subtitle {
            color: var(--primary-100);
            font-size: 1.25rem;
            margin-bottom: 2rem;
        }

        .cta-note {
            margin-top: 1rem;
            font-size: 0.875rem;
            color: var(--primary-300);
        }

        .demo-feedback {
            display: none;
        }

        .demo-start-row,
        .demo-result-actions {
            display: flex;
            gap: 1rem;
        }

        .demo-result {
            display: none;
        }

        .demo-result-title {
            margin-bottom: 1rem;
        }

        .demo-result-text,
        .demo-result-note {
            margin-bottom: 1.5rem;
        }
