
        /* Custom animations som inte kan göras med Tailwind */
        /* Statisk glow-effekt för hero-logotyp - vit logga med blå glow */
        .hero-logo-static-glow {
            filter: drop-shadow(0 0 40px rgba(102, 126, 234, 0.5)) drop-shadow(0 0 60px rgba(102, 126, 234, 0.4)) drop-shadow(0 0 80px rgba(102, 126, 234, 0.3)) drop-shadow(0 0 100px rgba(102, 126, 234, 0.2));
        }
        
        @keyframes textGlow {
            0%, 100% {
                text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
            }
            50% {
                text-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 255, 255, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
            }
        }
        
        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animate-text-glow {
            animation: textGlow 4s ease-in-out infinite;
        }
        
        .modal-slide-in {
            animation: modalSlideIn 0.3s ease;
        }
    
        /* ============================================
           NEW ADDITIONS FOR LANDING PAGE IMPROVEMENTS
           ============================================ */
        
        /* ROT/RUT Highlight Box Animations */
        .rot-rut-highlight-box {
            animation: fadeInUp 0.8s ease-out;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Video Section Styling */
        .video-section {
            animation: fadeInUp 1s ease-out;
        }
        
        .video-section video {
            transition: all 0.3s ease;
            border-radius: 1rem;
        }
        
        .video-section video:hover {
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
        }
        
        /* Video controls styling */
        .video-section video::-webkit-media-controls-panel {
            background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8));
        }
        
        /* Testimonial Section Animations */
        #testimonials {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }
        
        #testimonials.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .testimonial-grid {
            display: grid;
        }
        
        .testimonial-card {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.6s ease-out forwards;
        }
        
        .testimonial-card:nth-child(1) {
            animation-delay: 0.1s;
        }
        
        .testimonial-card:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .testimonial-card:nth-child(3) {
            animation-delay: 0.3s;
        }
        
        /* Smooth Scroll Behavior */
        html {
            scroll-behavior: smooth;
        }
        
        /* Intersection Observer Animation Classes */
        .fade-in-section {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }
        
        .fade-in-section.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Enhanced Hover Effects for Stats */
        .stats-card-enhanced {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .stats-card-enhanced:hover {
            transform: translateY(-8px) scale(1.05);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }
        
        /* Company Testimonials Specific Styles */
        #for-companies .testimonial-card {
            animation-delay: 0s;
        }
        
        #for-companies .testimonial-card:nth-child(1) {
            animation-delay: 0.15s;
        }
        
        #for-companies .testimonial-card:nth-child(2) {
            animation-delay: 0.3s;
        }
        
        /* Pulse Animation for Icons */
        @keyframes gentlePulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }
        
        .pulse-on-hover:hover i {
            animation: gentlePulse 1s ease-in-out infinite;
        }
        
        /* Stagger Animations for Multiple Elements */
        .stagger-animation > * {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease-out forwards;
        }
        
        .stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
        .stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
        .stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
        .stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
        .stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }
        
        /* Gradient Border Animation */
        @keyframes gradientShift {
            0% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
            100% {
                background-position: 0% 50%;
            }
        }
        
        .animated-gradient-border {
            background-size: 200% 200%;
            animation: gradientShift 3s ease infinite;
        }
        
        /* Mobile Optimizations */
        @media (max-width: 768px) {
            .testimonial-card {
                animation-delay: 0s !important;
            }
            
            .fade-in-section {
                transform: translateY(20px);
            }
            
            .rot-rut-highlight-box {
                margin-bottom: 2rem;
            }
            
            .video-placeholder-section {
                margin-top: 2rem;
            }
        }
        
        /* Reduce Motion for Accessibility */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
            
            html {
                scroll-behavior: auto;
            }
        }
    


        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
            min-height: 100vh;
            overflow-x: hidden;
            text-align: left; /* Explicit left alignment for body, containers will center themselves */
        }
        
        
        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            text-align: center;
            padding: clamp(1rem, 2vh, 1.5rem) clamp(1rem, 3vw, 2rem) clamp(2rem, 5vh, 4rem);
            padding-top: clamp(4rem, 6vh, 5rem);
            position: relative;
            overflow: hidden;
        }

        .hero-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            background: 
                radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
        }

        
        .hero-content {
            max-width: 800px;
            z-index: 2;
            position: relative;
            margin-top: 0;
        }
        
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.4);
            border-radius: 50px;
            padding: 0.7rem 1.8rem;
            margin-bottom: 1rem;
            font-size: 1rem;
            font-weight: 600;
            color: white;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .hero-badge i {
            color: #FFD700;
        }

        .hero-logo {
            max-width: 600px;
            width: 100%;
            height: auto;
            min-height: 100px;
            margin-bottom: 0.8rem;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            margin-left: auto;
            margin-right: auto;
            z-index: 10;
            position: relative;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 8vw, 5rem);
            font-weight: 900;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.5rem;
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
            line-height: 1.0;
            letter-spacing: 0.1em;
            font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
            position: relative;
            display: inline-block;
            animation: textGlow 4s ease-in-out infinite;
        }

        @keyframes textGlow {
            0%, 100% {
                text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
            }
            50% {
                text-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 255, 255, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
            }
        }

        .hero-slogan {
            font-size: clamp(1rem, 3vw, 1.8rem);
            font-weight: 400;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 2rem;
            text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
            letter-spacing: 0.05em;
            font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
            text-transform: uppercase;
            opacity: 0.9;
            position: relative;
        }

        .hero-slogan::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 2px;
            background: linear-gradient(90deg, transparent, #ffffff, transparent);
            border-radius: 1px;
        }
        
        .hero p {
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
        }

        .hero-subtitle {
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            margin-top: 0;
            margin-bottom: 3rem;
            opacity: 0.95;
            max-width: min(800px, 90vw);
            margin-left: auto;
            margin-right: auto;
            padding: 0 1rem;
        }

        .hero-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: clamp(1rem, 3vw, 3rem);
            margin-bottom: 3rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-stat {
            text-align: center;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 1.5rem 2rem;
            border: 2px solid rgba(255, 255, 255, 0.3);
            min-width: 120px;
            color: white;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .hero-stat .stat-number {
            font-size: clamp(1.5rem, 4vw, 2.5rem);
            font-weight: 700;
            color: #FFD700;
            margin-bottom: 0.5rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .hero-stat .stat-label {
            font-size: clamp(0.8rem, 1.5vw, 0.9rem);
            opacity: 0.9;
            font-weight: 500;
        }
        
        .cta-buttons {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: clamp(1rem, 2vw, 2rem);
            justify-content: center;
            margin-bottom: 3rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .btn {
            padding: clamp(1rem, 2vw, 1.2rem) clamp(1.5rem, 4vw, 2.5rem);
            border: none;
            border-radius: 50px;
            font-size: clamp(1rem, 2vw, 1.1rem);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.8rem;
            min-width: 200px;
            justify-content: center;
            position: relative;
            overflow: hidden;
            width: 100%;
        }

        .btn-arrow {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }

        .btn:hover .btn-arrow {
            transform: translateX(5px);
        }

        .hero-trust {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: clamp(1rem, 2vw, 2rem);
            margin-top: 1.5rem;
            margin-bottom: 2rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .trust-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 25px;
            padding: 0.8rem 1.5rem;
            font-size: 0.9rem;
            font-weight: 600;
            color: white;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .trust-item i {
            color: #FFD700;
        }
        
        .btn-primary {
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
            font-weight: 600;
            text-shadow: none;
        }
        
        .btn-secondary {
            background: linear-gradient(45deg, #1e293b, #334155);
            color: white;
            border: 2px solid #1e293b;
            box-shadow: 0 4px 15px rgba(30, 41, 59, 0.3);
            font-weight: 600;
            text-shadow: none;
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
        }
        
        .btn-primary:hover {
            background: linear-gradient(45deg, #764ba2, #667eea);
        }
        
        .btn-secondary:hover {
            background: linear-gradient(45deg, #334155, #475569);
            box-shadow: 0 6px 20px rgba(30, 41, 59, 0.4);
        }
        
        /* Login Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
        }
        
        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 0;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: modalSlideIn 0.3s ease;
        }
        
        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .modal-header {
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            padding: 2rem;
            border-radius: 20px 20px 0 0;
            text-align: center;
        }
        
        .modal-header h2 {
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
        }
        
        .modal-header p {
            opacity: 0.9;
        }
        
        .modal-body {
            padding: 2rem;
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: #333;
        }
        
        .form-group input {
            width: 100%;
            padding: 1rem;
            border: 2px solid #e1e5e9;
            border-radius: 10px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }
        
        .form-group input:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }
        
        .user-type-selector {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .user-type-btn {
            flex: 1;
            padding: 1rem;
            border: 2px solid #e1e5e9;
            border-radius: 10px;
            background: white;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .user-type-btn.active {
            border-color: #667eea;
            background: #f8f9ff;
            color: #667eea;
        }
        
        .user-type-btn i {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            display: block;
        }
        
        .submit-btn {
            width: 100%;
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            padding: 1rem;
            border: none;
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .submit-btn:hover {
            transform: translateY(-2px);
        }
        
        .close {
            color: white;
            float: right;
            font-size: 2rem;
            font-weight: bold;
            cursor: pointer;
            position: absolute;
            right: 1rem;
            top: 1rem;
        }
        
        .close:hover {
            opacity: 0.7;
        }
        
        /* Features Section */
        .features {
            background: white;
            padding: 5rem 0;
        }
        
        .container {
            max-width: min(1200px, 95vw);
            margin: 0 auto;
            padding: 0 clamp(1rem, 3vw, 2rem);
            text-align: left; /* Reset text-align for container content */
        }
        
        .section-title {
            text-align: center;
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            color: #333;
            margin-bottom: 3rem;
        }
        
        .how-it-works-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));
            gap: 3rem;
            margin-top: 3rem;
        }

        .user-flow {
            background: white;
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .user-flow::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #667eea, #764ba2);
        }

        .user-flow.customer::before {
            background: linear-gradient(90deg, #667eea, #764ba2);
        }

        .user-flow.company::before {
            background: linear-gradient(90deg, #f59e0b, #ef4444);
        }

        .user-flow-header {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .user-flow-header h3 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
        }

        .user-flow-header h3 i {
            font-size: 2rem;
            background: linear-gradient(45deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .user-flow-header h3.company-icon i {
            background: linear-gradient(45deg, #f59e0b, #ef4444);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .user-flow-header p {
            color: #666;
            font-size: 1rem;
            margin: 0;
        }

        .flow-steps {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .flow-step {
            display: flex;
            gap: 1.5rem;
            align-items: flex-start;
            padding: 1.5rem;
            background: #f8f9fa;
            border-radius: 12px;
            transition: all 0.3s ease;
            border-left: 4px solid #667eea;
        }

        .flow-step.company-step {
            border-left-color: #f59e0b;
        }

        .flow-step:hover {
            background: #f0f4ff;
            transform: translateX(5px);
        }

        .flow-step.company-step:hover {
            background: #fff7ed;
        }

        .step-number {
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }

        .step-number.company-number {
            background: linear-gradient(45deg, #f59e0b, #ef4444);
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
        }

        .step-content {
            flex: 1;
        }

        .step-content h4 {
            font-size: 1.2rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 0.5rem;
        }

        .step-content p {
            color: #666;
            line-height: 1.6;
            margin: 0;
            font-size: 0.95rem;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
            gap: clamp(1.5rem, 3vw, 2rem);
        }
        
        .feature-card {
            background: white;
            padding: clamp(1.5rem, 3vw, 2rem);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            text-align: center;
            transition: transform 0.3s ease;
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
        }
        
        .feature-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .feature-title {
            font-size: clamp(1.1rem, 2.5vw, 1.3rem);
            font-weight: bold;
            color: #333;
            margin-bottom: 1rem;
        }

        .feature-desc {
            color: #666;
            line-height: 1.6;
            font-size: clamp(0.9rem, 1.8vw, 1rem);
        }
        
        /* Stats Section */
        .stats {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
            padding: 4rem 0;
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .stats::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            background: 
                radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
        }
        
        .stats .container {
            position: relative;
            z-index: 1;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
            gap: clamp(1.5rem, 3vw, 2rem);
            text-align: center;
        }
        
        .stat-item {
            padding: 1rem;
        }
        
        .stat-number {
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            opacity: 0.9;
        }
        
        /* Sponsors Section */
        .sponsors {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 5rem 0;
            position: relative;
            overflow: hidden;
        }
        
        .sponsors::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
            pointer-events: none;
        }
        
        .sponsors .container {
            position: relative;
            z-index: 1;
        }
        
        .sponsors-wrapper {
            position: relative;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            overflow: hidden;
        }
        
        .sponsors-slider {
            display: flex;
            gap: 2rem;
            will-change: scroll-position;
            scroll-behavior: auto;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        
        .sponsors-slider::-webkit-scrollbar {
            display: none;
        }
        
        .sponsors-grid {
            display: flex;
            gap: 2rem;
            min-width: max-content;
        }
        
        /* Fade-effekt på sidorna */
        .sponsors-wrapper {
            position: relative;
        }
        
        .sponsors-wrapper::before,
        .sponsors-wrapper::after {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            width: 100px;
            z-index: 10;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        
        .sponsors-wrapper::before {
            left: 0;
            background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
        }
        
        .sponsors-wrapper::after {
            right: 0;
            background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
        }
        
        .sponsor-card {
            background: white;
            border-radius: 20px;
            padding: 2.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            min-width: 220px;
            min-height: 160px;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
            opacity: 0;
            animation: fadeInUp 0.6s ease forwards;
        }
        
        .sponsor-card:hover {
            transform: translateY(-8px) scale(1.05);
            box-shadow: 0 16px 40px rgba(102, 126, 234, 0.2);
            border: 2px solid rgba(102, 126, 234, 0.3);
        }
        
        .sponsor-card:active {
            transform: translateY(-4px) scale(1.02);
        }
        
        .sponsor-card:nth-child(1) { animation-delay: 0.1s; }
        .sponsor-card:nth-child(2) { animation-delay: 0.2s; }
        .sponsor-card:nth-child(3) { animation-delay: 0.3s; }
        .sponsor-card:nth-child(4) { animation-delay: 0.4s; }
        .sponsor-card:nth-child(5) { animation-delay: 0.5s; }
        .sponsor-card:nth-child(6) { animation-delay: 0.6s; }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .sponsor-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.15), transparent);
            transition: left 0.6s ease;
        }
        
        .sponsor-card:hover::before {
            left: 100%;
        }
        
        .sponsor-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
            border-radius: 20px;
        }
        
        .sponsor-card:hover::after {
            opacity: 1;
        }
        
        .sponsor-card:hover {
            transform: translateY(-10px) scale(1.05);
            box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
            border: 2px solid rgba(102, 126, 234, 0.2);
        }
        
        .sponsor-logo {
            max-width: 100%;
            max-height: 90px;
            object-fit: contain;
            filter: grayscale(30%);
            transition: all 0.4s ease;
            position: relative;
            z-index: 1;
        }
        
        .sponsor-card:hover .sponsor-logo {
            filter: grayscale(0%);
            transform: scale(1.1);
        }
        
        .sponsors-loading {
            text-align: center;
            padding: 4rem 2rem;
            grid-column: 1 / -1;
        }
        
        .sponsor-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.15), transparent);
            transition: left 0.6s ease;
        }
        
        .sponsor-card:hover::before {
            left: 100%;
        }
        
        .sponsor-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
            border-radius: 20px;
        }
        
        .sponsor-card:hover::after {
            opacity: 1;
        }
        
        .sponsor-card:hover {
            transform: translateY(-10px) scale(1.05);
            box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
            border: 2px solid rgba(102, 126, 234, 0.2);
        }
        
        .sponsor-logo {
            max-width: 100%;
            max-height: 90px;
            object-fit: contain;
            filter: grayscale(30%);
            transition: all 0.4s ease;
            position: relative;
            z-index: 1;
        }
        
        .sponsor-card:hover .sponsor-logo {
            filter: grayscale(0%);
            transform: scale(1.1);
        }
        
        .sponsors-loading {
            text-align: center;
            padding: 4rem 2rem;
            grid-column: 1 / -1;
        }
        
        /* Gradient overlay för smooth loop */
        .sponsors-wrapper::before,
        .sponsors-wrapper::after {
            content: '';
            position: absolute;
            top: 0;
            width: 150px;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }
        
        .sponsors-wrapper::before {
            left: 0;
            background: linear-gradient(to right, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
        }
        
        .sponsors-wrapper::after {
            right: 0;
            background: linear-gradient(to left, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
        }
        
        @media (max-width: 768px) {
            .sponsors {
                padding: 3rem 0;
            }
            
            .sponsors-wrapper {
                padding: 0 1rem;
            }
            
            .sponsor-card {
                min-width: 180px;
                min-height: 140px;
                padding: 2rem;
            }
            
            .sponsor-logo {
                max-height: 70px;
            }
            
            .sponsors-wrapper::before,
            .sponsors-wrapper::after {
                width: 80px;
            }
        }
        
        @media (max-width: 480px) {
            .sponsor-card {
                min-width: 160px;
                min-height: 120px;
                padding: 1.5rem;
            }
            
            .sponsor-logo {
                max-height: 60px;
            }
        }
        
        .become-sponsor-container {
            text-align: center;
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 2px solid #e9ecef;
        }
        
        .become-sponsor-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .become-sponsor-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
        }
        
        .become-sponsor-btn:active {
            transform: translateY(0);
        }
        
        .become-sponsor-btn i {
            font-size: 1.2rem;
        }
        
        .sponsor-price {
            margin-top: 1rem;
            color: #666;
            font-size: 0.95rem;
            font-weight: 500;
        }
        
        /* Sponsor Modal */
        .sponsor-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
        }
        
        .sponsor-modal-content {
            background-color: white;
            margin: 3% auto;
            padding: 0;
            border-radius: 20px;
            max-width: 700px;
            width: 90%;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            animation: modalSlideIn 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        
        @keyframes modalSlideIn {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        .sponsor-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 2rem 1rem;
            border-bottom: 2px solid #e9ecef;
        }
        
        .sponsor-modal-header h2 {
            margin: 0;
            color: #111827;
            font-size: 1.5rem;
        }
        
        .sponsor-modal-close {
            background: none;
            border: none;
            font-size: 1.8rem;
            color: #666;
            cursor: pointer;
            padding: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
        }
        
        .sponsor-modal-close:hover {
            background: #f0f0f0;
            color: #333;
        }
        
        .sponsor-modal-body {
            padding: 1.5rem 2rem;
            margin-bottom: 0;
        }
        
        .sponsor-modal-body p {
            color: #666;
            line-height: 1.5;
            margin-bottom: 0.75rem;
            font-size: 0.95rem;
        }
        
        .sponsor-benefits {
            list-style: none;
            padding: 0;
            margin: 1.5rem 0;
        }
        
        .sponsor-benefits li {
            padding: 0.75rem 0;
            color: #333;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .sponsor-benefits li i {
            color: #111827;
            font-size: 1.1rem;
        }
        
        .sponsor-price-highlight {
            background: linear-gradient(135deg, #111827 0%, #374151 100%);
            color: white;
            padding: 1.5rem;
            border-radius: 15px;
            text-align: center;
            margin: 1.5rem 0;
        }
        
        .sponsor-price-highlight .price {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .sponsor-price-highlight .price-label {
            font-size: 0.9rem;
            opacity: 0.9;
        }
        
        .sponsor-modal-actions {
            display: flex;
            gap: 1rem;
            justify-content: center;
            padding: 1rem 2rem 1.5rem;
        }
        
        .sponsor-contact-btn {
            background: linear-gradient(135deg, #111827 0%, #374151 100%);
            color: white;
            border: none;
            padding: 1rem 2rem;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            flex: 1;
            max-width: 250px;
        }
        
        .sponsor-contact-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(17, 24, 39, 0.35);
        }
        
        .sponsor-contact-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            background: #ccc;
        }
        
        .sponsor-package-card {
            position: relative;
        }
        
        .sponsor-package-card.selected {
            border-color: #111827 !important;
            box-shadow: 0 6px 18px rgba(17, 24, 39, 0.22);
            transform: scale(1.02);
        }
        
        .sponsor-package-card:hover {
            transform: scale(1.02);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .package-check {
            animation: checkFadeIn 0.3s ease;
        }
        
        @keyframes checkFadeIn {
            from {
                opacity: 0;
                transform: scale(0.5);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        /* Footer */
        .footer {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
            padding: 60px 20px 30px;
            font-size: 0.9rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        .footer-section h4 {
            color: #ecf0f1;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .footer-section ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-section ul li {
            margin-bottom: 12px;
        }

        .footer-section ul li a {
            color: #bdc3c7;
            text-decoration: none;
            transition: color 0.3s ease;
            font-size: 0.9rem;
        }

        .footer-section ul li a:hover {
            color: #3498db;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .footer-logo img {
            /* Statisk vit glow-effekt för footer-logotyp */
            filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 50px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 80px rgba(255, 255, 255, 0.5));
        }

        .footer-logo-icon {
            background: linear-gradient(45deg, #3498db, #2980b9);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
            box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
        }

        .footer-logo-text h3 {
            color: #ecf0f1;
            font-size: 1.3rem;
            font-weight: 600;
            margin: 0 0 5px 0;
        }

        .footer-logo-text p {
            color: #bdc3c7;
            font-size: 0.9rem;
            margin: 0;
        }

        .footer-description {
            color: #bdc3c7;
            line-height: 1.6;
            margin: 0;
        }

        .footer-bottom {
            border-top: 1px solid #34495e;
            padding-top: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-info p {
            margin: 5px 0;
            color: #bdc3c7;
            font-size: 0.85rem;
        }

        .footer-features {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .feature-badge {
            background: rgba(52, 152, 219, 0.1);
            color: #3498db;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid rgba(52, 152, 219, 0.2);
        }

        .footer-copyright {
            color: #95a5a6;
            font-size: 0.8rem;
        }

        /* Snabbknappar i navigation */
        .nav-quick-actions {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-right: 1rem;
        }

        .nav-quick-btn {
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 0.5rem 0.8rem;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.3rem;
            box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
        }

        .nav-quick-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .nav-quick-btn i {
            font-size: 0.9rem;
        }

        /* Användarinfo för inloggade användare */
        .user-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .user-info span {
            font-weight: 500;
            color: #333;
            font-size: clamp(0.7rem, 1.2vw, 0.8rem);
        }

        .btn-small {
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
        }

        .btn-secondary {
            background: #f8f9fa;
            color: #667eea;
            border: 2px solid #667eea;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-secondary:hover {
            background: #667eea;
            color: white;
        }

        /* Omfattande mobil-anpassning */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: clamp(2rem, 8vw, 3rem) !important;
            }
            
            .hero p {
                font-size: clamp(1rem, 4vw, 1.2rem) !important;
            }
            
            .hero-buttons {
                flex-direction: column;
                gap: 1rem;
                width: 100%;
            }
            
            .hero-buttons .btn {
                width: 100%;
                max-width: 100%;
            }
            
            .features-grid {
                grid-template-columns: 1fr !important;
                gap: 1.5rem;
            }
            
            .companies-grid {
                grid-template-columns: 1fr !important;
            }
            
            .stats-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 1rem;
            }
            
            .testimonials-grid {
                grid-template-columns: 1fr !important;
            }
            
            .nav-btn-text {
                display: none;
            }
            
            .nav-btn-primary,
            .nav-btn-secondary {
                padding: 0.6rem !important;
                min-width: auto;
            }
            
            .nav-btn-primary i,
            .nav-btn-secondary i {
                margin: 0 !important;
            }
        }
        
        @media (max-width: 480px) {
            .hero {
                padding: 2rem 1rem !important;
                padding-top: 5rem !important;
            }
            
            .hero h1 {
                font-size: 1.75rem !important;
                line-height: 1.3;
            }
            
            .hero p {
                font-size: 1rem !important;
            }
            
            .stats-grid {
                grid-template-columns: 1fr !important;
            }
            
            .section {
                padding: 3rem 1rem !important;
            }
            
            .section h2 {
                font-size: 1.75rem !important;
            }
            
            .company-feature,
            .feature-card,
            .testimonial-card {
                padding: 1.5rem !important;
            }
            
            .sponsors-wrapper {
                padding: 0 0.5rem !important;
            }
            
            .sponsor-card {
                min-width: 120px !important;
                height: 80px !important;
            }
        }
        
        /* Responsive */
        /* For Companies Section */
        .for-companies {
            background: #f8f9fa;
            padding: 80px 20px;
            text-align: center;
        }

        .companies-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto 40px;
        }

        .company-feature {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .company-feature:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .company-icon {
            font-size: 3rem;
            color: #667eea;
            margin-bottom: 15px;
        }

        .company-feature h3 {
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: #333;
        }

        .company-feature p {
            color: #666;
            font-size: 1rem;
        }

        .company-cta {
            margin-top: 40px;
        }

        /* About Section */
        .about {
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
            padding: 80px 20px;
        }

        .about-content {
            max-width: 1000px;
            margin: 0 auto;
        }

        .about-intro {
            text-align: center;
            margin-bottom: 4rem;
        }

        .about-intro h3 {
            color: #667eea;
            font-size: 2rem;
            margin-bottom: 1.5rem;
            font-weight: 700;
        }

        .about-intro p {
            color: #555;
            line-height: 1.8;
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto;
        }

        .about-features {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            margin-bottom: 4rem;
        }

        @media (max-width: 1024px) {
            .about-features {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .about-features {
                grid-template-columns: 1fr;
            }
        }

        .about-feature {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-left: 4px solid #667eea;
        }

        .about-feature:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
        }

        .about-feature-icon {
            font-size: 2.5rem;
            color: #667eea;
            margin-bottom: 1rem;
        }

        .about-feature h4 {
            color: #333;
            font-size: 1.2rem;
            margin-bottom: 0.8rem;
            font-weight: 700;
        }

        .about-feature p {
            color: #666;
            line-height: 1.6;
            margin: 0;
        }

        .about-communities {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
            padding: 3rem;
            border-radius: 15px;
            text-align: center;
            color: white;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .about-communities::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            background: 
                radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
        }
        
        .about-communities h3,
        .about-communities p,
        .about-communities .communities-list {
            position: relative;
            z-index: 1;
        }

        .about-communities h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .about-communities h3 i {
            font-size: 1.5rem;
        }

        .about-communities p {
            font-size: 1.1rem;
            line-height: 1.8;
            opacity: 0.95;
            margin: 0;
        }

        .communities-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .community-badge {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            font-weight: 600;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        /* Contact Section */
        .contact {
            background: white;
            padding: 80px 20px;
        }

        .contact-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .contact-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-top: 3rem;
        }

        .contact-info > div {
            background: #f8f9fa;
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .contact-info > div:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        }

        .contact-info h3 {
            color: #667eea;
            font-size: 1.5rem;
            margin: 0 0 1.5rem 0;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .contact-info h3 i {
            font-size: 1.3rem;
        }

        .contact-info p {
            color: #555;
            line-height: 1.8;
            margin-bottom: 0.8rem;
            font-size: 1rem;
        }

        .contact-info p strong {
            color: #333;
            font-weight: 600;
        }

/* ==========================================
   MOBILE UX OPTIMIZATIONS - LANDING PAGE
   ========================================== */

/* ==========================================
   HERO SECTION - PORTRAIT MODE
   ========================================== */
@media (max-width: 768px) and (orientation: portrait) {
    #hero {
        min-height: auto !important;
        padding: 3rem 1rem 2rem !important;
    }
    
    #hero .hero-logo-static-glow {
        max-width: 280px !important;
        min-height: 60px !important;
    }
    
    #hero p {
        font-size: 1rem !important;
        padding: 0 1rem;
        line-height: 1.6;
    }
    
    /* CTA Buttons stack med bättre spacing */
    #hero .grid-cols-1.md\:grid-cols-2 {
        gap: 1rem !important;
    }
    
    #hero button {
        min-height: 56px !important;
        font-size: 1rem !important;
        padding: 1rem 1.5rem !important;
    }
    
    /* Badge pills wrap på små skärmar */
    #hero .grid-cols-1.md\:grid-cols-3 {
        gap: 0.75rem !important;
    }
    
    /* Stats cards kompaktare */
    #hero .text-2xl.md\:text-4xl {
        font-size: 2rem !important;
    }
}

/* ==========================================
   HERO SECTION - LANDSCAPE MODE
   ========================================== */
@media (max-width: 900px) and (orientation: landscape) {
    #hero {
        min-height: auto !important;
        padding: 2rem 1rem 1.5rem !important;
    }
    
    #hero .hero-logo-static-glow {
        max-width: 220px !important;
        min-height: 50px !important;
        margin-bottom: 0.5rem !important;
    }
    
    #hero p {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
        padding: 0 0.5rem;
    }
    
    /* CTA buttons i horizontal layout */
    #hero .grid-cols-1.md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* Mindre badges */
    #hero .grid-cols-1.md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
        font-size: 0.8rem !important;
    }
    
    #hero .grid-cols-1.md\:grid-cols-3 > div {
        padding: 0.5rem 1rem !important;
    }
    
    /* Stats cards mer kompakta */
    #hero .text-2xl.md\:text-4xl {
        font-size: 1.5rem !important;
    }
}

/* ==========================================
   VIDEO SECTION - MOBILE
   ========================================== */
@media (max-width: 768px) {
    .video-section {
        padding: 2rem 1rem !important;
    }
    
    .video-section video {
        max-height: 50vh !important;
        width: 100%;
        object-fit: cover;
    }
    
    .video-section .text-sm {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .video-section video {
        max-height: 60vh !important;
        max-width: 70vw;
        margin: 0 auto;
    }
}

/* ==========================================
   TRIGGERS & BENEFITS SECTION - MOBILE
   ========================================== */
@media (max-width: 768px) and (orientation: portrait) {
    #triggers-benefits .grid-cols-1.md\:grid-cols-2 {
        gap: 2rem !important;
    }
    
    .trigger-column,
    .benefit-column {
        padding: 2rem !important;
    }
    
    .benefit-card {
        padding: 1rem !important;
    }
    
    /* Ikoner mindre på mobil */
    .benefit-icon {
        font-size: 1.5rem !important;
    }
    
    .icon-pulse,
    .icon-bounce {
        width: 48px !important;
        height: 48px !important;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    #triggers-benefits {
        padding: 3rem 1rem !important;
    }
    
    #triggers-benefits .grid-cols-1.md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .trigger-column,
    .benefit-column {
        padding: 1.5rem !important;
    }
    
    .benefit-card p {
        font-size: 0.95rem !important;
    }
}

/* ==========================================
   TESTIMONIALS GRID - RESPONSIVE
   ========================================== */
@media (min-width: 481px) and (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .testimonial-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .testimonial-card {
        padding: 1.5rem !important;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }
    
    .testimonial-card {
        padding: 1rem !important;
    }
    
    .testimonial-card h4 {
        font-size: 1rem !important;
    }
}

/* ==========================================
   FEATURES SECTION - MOBILE
   ========================================== */
@media (max-width: 768px) and (orientation: portrait) {
    #features .grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .feature-card {
        padding: 1.5rem !important;
    }
    
    .feature-icon {
        width: 48px !important;
        height: 48px !important;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    #features .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .feature-card {
        padding: 1rem !important;
    }
}

/* ==========================================
   STATS SECTION - MOBILE
   ========================================== */
@media (max-width: 768px) and (orientation: portrait) {
    #stats .grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .stat-card {
        padding: 1.5rem !important;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    #stats .grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
}

/* ==========================================
   FOR COMPANIES SECTION - MOBILE
   ========================================== */
@media (max-width: 768px) and (orientation: portrait) {
    #for-companies .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .company-feature {
        text-align: center;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    #for-companies .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

/* ==========================================
   FAQ SECTION - TOUCH OPTIMIZATION
   ========================================== */
@media (max-width: 768px) {
    .faq-item {
        min-height: 56px !important;
    }
    
    .faq-question {
        padding: 1rem !important;
        font-size: 1rem !important;
        min-height: 56px;
        display: flex;
        align-items: center;
    }
    
    .faq-answer {
        padding: 1rem !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .faq-item {
        min-height: 48px !important;
    }
    
    .faq-question {
        padding: 0.75rem !important;
        font-size: 0.95rem !important;
    }
}

/* ==========================================
   CONTACT SECTION - MOBILE
   ========================================== */
@media (max-width: 768px) and (orientation: portrait) {
    #contact form input,
    #contact form textarea,
    #contact form button {
        font-size: 16px !important; /* Prevent iOS zoom */
        min-height: 48px;
    }
    
    #contact form button {
        min-height: 56px !important;
        padding: 1rem !important;
    }
}

/* ==========================================
   iOS SAFE AREAS SUPPORT
   ========================================== */
@supports (padding: env(safe-area-inset-top)) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    #hero {
        padding-top: calc(5rem + env(safe-area-inset-top)) !important;
    }
    
    footer {
        padding-bottom: calc(2rem + env(safe-area-inset-bottom)) !important;
    }
}

/* ==========================================
   TOUCH ENHANCEMENTS - VISUAL FEEDBACK
   ========================================== */
@media (hover: none) {
    /* Touch devices */
    button:active,
    .cta-button:active {
        transform: scale(0.97);
        transition: transform 0.1s;
    }
    
    .benefit-card:active {
        opacity: 0.9;
    }
    
    .testimonial-card:active {
        transform: translateY(0) !important;
    }
    
    /* Expandera hit areas för FAQ */
    .faq-question {
        position: relative;
    }
    
    .faq-question::before {
        content: '';
        position: absolute;
        inset: -8px;
        z-index: -1;
    }
    
    /* Disable hover effects på touch devices */
    button:hover,
    .benefit-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
}

/* ==========================================
   SMALL PHONES SPECIFIC (< 480px)
   ========================================== */
@media (max-width: 480px) {
    #hero .hero-logo-static-glow {
        max-width: 240px !important;
    }
    
    #hero button {
        font-size: 0.95rem !important;
        padding: 0.875rem 1.25rem !important;
    }
    
    .trigger-column h3,
    .benefit-column h3 {
        font-size: 1.5rem !important;
    }
}

/* ==========================================
   SECTION SPACING ADJUSTMENTS - MOBILE
   ========================================== */
@media (max-width: 768px) {
    section {
        padding: 3rem 1rem !important;
    }
    
    .section-title,
    section h2 {
        font-size: 1.75rem !important;
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    section {
        padding: 2rem 1rem !important;
    }
    
    .section-title,
    section h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
}

/* ==========================================
   TESTIMONIAL STARS - FILLED
   ========================================== */
   
/* Fill testimonial stars completely */
#testimonials [data-lucide="star"],
#for-companies [data-lucide="star"] {
  fill: rgb(250, 204, 21) !important;
  stroke: rgb(250, 204, 21) !important;
  stroke-width: 1.5 !important;
}

/* Ensure proper size */
#testimonials [data-lucide="star"] svg,
#for-companies [data-lucide="star"] svg {
  width: 20px;
  height: 20px;
}

/* Optional: Add subtle glow effect */
#testimonials [data-lucide="star"],
#for-companies [data-lucide="star"] {
  filter: drop-shadow(0 2px 4px rgba(250, 204, 21, 0.3));
}

/* Tablet fix - Ta bort backdrop-filter som orsakar artefakter pa iPad */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-badge,
  .hero-stat,
  .trust-item,
  .modal {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  
  /* Kompensera genom att oka opacity */
  .hero-badge {
    background: rgba(255, 255, 255, 0.35);
  }
  
  .hero-stat {
    background: rgba(255, 255, 255, 0.3);
  }
  
  .trust-item {
    background: rgba(255, 255, 255, 0.3);
  }
  
  .modal {
    background-color: rgba(0, 0, 0, 0.65);
  }
}

    