/* CSS-variabler för konsistent design */
:root {
    /* Färger */
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --success-color: #10b981;
    --success-hover: #059669;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --background-light: #f8fafc;
    --white: #ffffff;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.12);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    /* Z-index */
    --z-header: 1000;
    --z-modal: 2000;
}

/* Reset och grundläggande stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #fafafa;
    font-size: 16px;
}

/* Allmänna sektioner - mer kompakt */
section {
    padding: 40px 0; /* Minskat från 60px */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header och Navigation */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    transform: translateY(0);
    opacity: 1;
}

.header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.navbar {
    padding: 0.75rem 0; /* Minskat från 1rem */
}

.navbar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    text-align: center;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-normal);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.login-link {
    background: var(--background-light);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
}

/* Hero sektion - kompakt */
.hero {
    padding: 120px 0 30px; /* Lagt till padding-top för att kompensera för fixed header */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    transform: translateY(0);
    opacity: 1;
}

.hero.hidden {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem; /* Ökat för bättre separation */
    color: white;
}

.hero-content {
    margin-bottom: 0; /* Ta bort extra margin eftersom vi inte har h1 längre */
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
    z-index: 10;
}

.btn {
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    transition: all var(--transition-normal);
    display: inline-block;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--success-color);
    color: var(--white);
    border: 2px solid var(--success-color);
}

.btn-primary:hover {
    background: var(--success-hover);
    border-color: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--background-light);
    border-color: var(--background-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Features sektion - mer kompakt */
.features {
    padding: var(--spacing-xl) 0;
    background: var(--background-light);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Så fungerar det - mer kompakt */
.how-it-works {
    padding: 40px 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.how-it-works .section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.how-it-works .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem; /* Minskat från 3rem */
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.how-it-works-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.how-it-works-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.how-it-works-text p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.steps {
    list-style: none;
}

.steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.steps li span {
    background: #2563eb;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    font-size: 0.9rem;
    grid-row: 1 / 3;
}

.steps li strong {
    color: #1f2937;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    display: block;
}

.steps li p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Demo-call sektion */
.demo-call {
    padding: 60px 0;
    background: white;
}

.demo-call h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.demo-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.demo-option {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.demo-option h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.demo-option p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.audio-player {
    width: 100%;
    max-width: 300px;
    height: 40px;
}

.video-preview {
    position: relative;
    display: inline-block;
}

.video-thumbnail {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 2px solid #e5e7eb;
}

.play-video-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.play-video-btn:hover {
    background: #1d4ed8;
}

.play-icon {
    font-size: 1.1rem;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.close-video-btn {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.3s ease;
}

.close-video-btn:hover {
    color: #374151;
}

.video-modal h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
    text-align: center;
}

.video-container {
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonials-sektion */
.testimonials {
    padding: 60px 0;
    background: #f8fafc;
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 3rem;
    color: #dbeafe;
    position: absolute;
    top: -8px;
    left: 15px;
    font-family: serif;
}

.testimonial-card p {
    font-style: italic;
    color: #374151;
    font-size: 1rem;
    line-height: 1.5;
    margin-left: 15px;
}

/* SPF-samarbete */
.spf-collaboration {
    padding: 50px 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    text-align: center;
}

.spf-collaboration h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #92400e;
}

.spf-collaboration p {
    font-size: 1rem;
    color: #78350f;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

.svt-link {
    margin-top: 1.5rem;
}

.svt-link a {
    color: #92400e;
    text-decoration: underline;
    font-weight: 500;
}

.svt-link a:hover {
    color: #78350f;
}

/* Pricing-sektion */
.pricing {
    padding: 60px 0;
    background: white;
    text-align: center;
}

.pricing h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Formulärsektioner */
/* Formulär - mer kompakt */
.form-section {
    padding: 40px 0;
    background: #f8fafc;
}

.form-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem; /* Minskat från 1rem */
    color: #1f2937;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 1.5rem; /* Minskat från 2rem */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    background: white;
    padding: 1.5rem; /* Minskat från 2rem */
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.25rem; /* Minskat från 1.5rem */
}

.form-group label {
    display: block;
    margin-bottom: 0.375rem; /* Minskat från 0.5rem */
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem; /* Minskat från 0.875rem */
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group select {
    height: 3.25rem; /* Minskat från 3.5rem */
    background: white;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px; /* Minskat från 120px */
}

.form-submit {
    text-align: center;
}

.form-submit button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.875rem 1.75rem; /* Minskat från 1rem 2rem */
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.form-submit button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    padding: 0.875rem; /* Minskat från 1rem */
    border-radius: 8px;
    margin-bottom: 1.25rem; /* Minskat från 1.5rem */
    font-size: 0.9rem;
    color: #92400e;
}

/* Formulärinfo */
.form-info {
    text-align: center;
    font-size: 0.9rem;
    color: #10b981;
    margin: 1rem 0 0.5rem 0;
    line-height: 1.4;
    font-weight: 500;
}

/* Villkorsnotis */
.terms-notice {
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.875rem; /* Minskat från 1rem */
}

.terms-notice a {
    color: #2563eb;
    text-decoration: none;
}

.terms-notice a:hover {
    text-decoration: underline;
}

/* FAQ sektion - kompakt och expanderbar */
.faq {
    padding: 40px 0;
    background: white;
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 0.75rem; /* Minskat från 1rem */
    overflow: hidden;
    background: white;
}

.faq-question {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.faq-toggle.expanded {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-answer.expanded {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1rem;
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Downloads-sektion */
.downloads {
    padding: 60px 0;
    background: #f8fafc;
}

.downloads h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.download-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f3f4f6;
}

.download-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.download-item p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.download-button {
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.download-button:hover {
    background: #1d4ed8;
}

/* About-sektion */
.about {
    padding: 60px 0;
    background: white;
    font-family: 'Poppins', sans-serif;
}

.about h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.about p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
}

/* Om oss sektion */
.about {
    padding: 40px 0;
    background: #f8fafc;
    font-family: 'Poppins', sans-serif;
}

.about h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-family: 'Poppins', sans-serif;
}

.about .section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Poppins', sans-serif;
}

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

.about-text p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.contact-info {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-info p {
    margin-bottom: 0.75rem;
    color: #374151;
}

.contact-info a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Contact-sektion */
.contact {
    padding: 60px 0;
    background: #f8fafc;
}

.contact h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: #1f2937;
}

.contact > .container > p {
    text-align: center;
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group select {
    height: 3.5rem; /* Samma höjd som text-input */
    background: white;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    text-align: center;
}

.form-submit button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.form-submit button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #92400e;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 40px 0 20px;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f9fafb;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #60a5fa;
}

.footer-section strong {
    color: #f9fafb;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 1rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.deploy-info {
    color: #6b7280 !important;
    font-size: 0.8rem !important;
    font-style: italic;
    margin-bottom: 0.5rem !important;
}

.footer-legal {
    margin-top: 1rem;
}

.footer-legal a {
    color: #d1d5db;
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #60a5fa;
}

/* Responsiv design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        word-break: break-word; /* Radbrytning för smala skärmar */
        margin-bottom: 2rem; /* Öka avståndet till knapparna */
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem; /* Öka avståndet mellan knapparna */
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-brand a {
        font-size: 1.25rem;
    }
    
    .how-it-works .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-container {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .footer-sections {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .steps li {
        gap: 0.75rem;
    }
    
    .steps li span {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.85rem;
    }
    
    .video-modal-content {
        margin: 5% auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    .hero {
        padding: 100px 0 20px; /* Kompensera för fixed header på mobil */
        transition: transform var(--transition-normal), opacity var(--transition-normal);
        transform: translateY(0);
        opacity: 1;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    

    
    /* Minska padding för alla sektioner på mobil */
    section {
        padding: 30px 0;
    }
    
    .faq-item {
        margin-bottom: 0.5rem;
    }
    
    .faq-question {
        padding: 0.875rem 1.25rem;
    }
    
    .faq-answer p {
        padding: 0 1.25rem 0.875rem;
    }
    
    /* Kontaktinformation responsiv */
    .contact-info {
        padding: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .contact-info h3 {
        font-size: 1.1rem;
    }
    
    .contact-info p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 90px 0 15px; /* Kompensera för fixed header på små mobiler */
        transition: transform var(--transition-normal), opacity var(--transition-normal);
        transform: translateY(0);
        opacity: 1;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 2rem; /* Öka avståndet till knapparna */
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem; /* Öka avståndet mellan knapparna */
    }
    
    .cta-button,
    .secondary-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .form-container {
        padding: 0.75rem;
        margin: 0;
    }
    
    .compact-form .form-container {
        padding: 0.75rem;
        margin: 0;
    }
    
    .feature-card,
    .testimonial-card {
        padding: 1rem;
    }
    
    .steps li {
        font-size: 0.9rem;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .download-item {
        padding: 1.5rem;
    }
    
    .video-container {
        margin: 1rem 0.5rem 0;
    }
    
    .terms-notice {
        font-size: 0.75rem;
        margin-top: 0.75rem;
    }
}

/* Utility-klasser */
.text-center {
    text-align: center;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus-visible för bättre tillgänglighet */
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Formulärmeddelanden */
.success-message,
.error-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

.success-message {
    background: #10b981;
    color: white;
    border: 1px solid #059669;
}

.error-message {
    background: #ef4444;
    color: white;
    border: 1px solid #dc2626;
}

/* Rehab Companion specifika stilar */
.benefits {
    background: var(--background-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.rehab-areas {
    background: var(--white);
}

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

.area-card {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.area-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.area-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.area-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pilot {
    background: var(--background-light);
}

.pilot-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pilot-info,
.pilot-benefits {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.pilot-info h3,
.pilot-benefits h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.pilot-info ul,
.pilot-benefits ul {
    list-style: none;
    padding: 0;
}

.pilot-info li,
.pilot-benefits li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: var(--text-secondary);
}

.pilot-info li:last-child,
.pilot-benefits li:last-child {
    border-bottom: none;
}

.contact {
    background: var(--white);
}

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

.contact-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: var(--radius-md);
    transition: transform var(--transition-normal);
}

.contact-item:hover {
    transform: translateY(-2px);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
}

.audio-player {
    text-align: center;
    margin: 2rem 0;
}

.audio-note {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 1rem;
}

/* Responsiv design för Rehab Companion */
@media (max-width: 768px) {
    .benefits-grid,
    .areas-grid,
    .pilot-details,
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-item,
    .pilot-info,
    .pilot-benefits {
        padding: 1.5rem;
    }
    
    .area-card {
        padding: 1.25rem;
    }
    
    .contact-item {
        padding: 1.25rem;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Så fungerar Trygghetssamtalet-sektion */
.how-trygghetssamtalet-works {
    padding: 60px 0;
    background: var(--background-light);
}

.how-trygghetssamtalet-works h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.trygghetssamtalet-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.trygghetssamtalet-feature {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.trygghetssamtalet-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.trygghetssamtalet-feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.trygghetssamtalet-feature p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

/* Responsiv design för Trygghetssamtalet-sektionen */
@media (max-width: 768px) {
    .trygghetssamtalet-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trygghetssamtalet-feature {
        padding: 1.5rem;
    }
}