:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-blue: #4A90E2;
    --primary-purple: #764BA2;
    --dark: #1e293b;
    --darker: #0f172a;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-bg: #f1f5f9;
    --gray-bg2: #e2e8f0;
    --white: #ffffff;
    --border: #cbd5e1;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.65;
    color: var(--dark);
    background: var(--gray-bg);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header - Dark */
.header {
    background: var(--darker);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--white);
}

.logo img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.nav a {
    padding: 0.4375rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-light);
    transition: all 0.15s ease;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.nav .cta {
    background: var(--primary);
    color: white;
    margin-left: 0.375rem;
}

.nav .cta:hover {
    background: var(--primary-hover);
    color: white;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--white);
}

/* Hero - Mörk gradient */
.hero {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    padding: 3.5rem 1.25rem;
    text-align: center;
}

.hero h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.625rem;
}

.hero p {
    color: var(--gray-light);
    font-size: 1.0625rem;
    max-width: 560px;
    margin: 0 auto 1.25rem;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 0.625rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.6875rem 1.375rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.15s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Secondary buttons inside light cards need dark text */
.card .btn-secondary {
    background: var(--gray-bg);
    color: var(--dark);
    border: 1px solid var(--border);
}

.card .btn-secondary:hover {
    background: #e2e8f0;
}

.btn-sms {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

/* Section */
.section {
    padding: 3rem 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
    scroll-margin-top: 6rem;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

/* Cards - Darka kort på ljus bakgrund */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

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

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--gray-bg);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 6px;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--gray);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    line-height: 1.55;
}

.card > .btn {
    margin-top: auto;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.card-tag {
    font-size: 0.8125rem;
    padding: 0.25rem 0.5rem;
    background: var(--gray-bg);
    border-radius: 4px;
    color: var(--gray);
}

/* Price list */
.prices {
    max-width: 560px;
    margin: 0 auto;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.price-row:hover {
    border-color: var(--gray);
}

.price-name {
    font-weight: 500;
    color: var(--dark);
}

.price-value {
    font-weight: 600;
    color: var(--dark);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 750px;
    margin: 0 auto;
}

.feature {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
}

.feature-icon {
    font-size: 1.625rem;
    margin-bottom: 0.625rem;
}

.feature h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.feature p {
    font-size: 0.8125rem;
    color: var(--gray);
}

/* Process */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 750px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-num {
    width: 42px;
    height: 42px;
    background: var(--darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: white;
}

.step h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.step p {
    font-size: 0.8125rem;
    color: var(--gray);
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.testimonial {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--gray);
    font-size: 0.9375rem;
    font-style: italic;
    margin-bottom: 0.75rem;
    line-height: 1.55;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--dark);
}

.testimonial-source {
    font-size: 0.7rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    display: inline-block;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Banner - Mörk */
.banner {
    background: var(--darker);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 2rem auto;
}

.banner h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.banner p {
    color: var(--gray-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* CTA - Dark */
.cta {
    background: var(--darker);
    padding: 3rem 1.25rem;
    text-align: center;
}

.cta h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.cta-btns {
    display: flex;
    gap: 0.625rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Float */
.float {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.875rem;
    box-shadow: var(--shadow);
    transition: all 0.15s ease;
    background: var(--darker);
    color: var(--white);
    border: none;
}

.float-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Footer - Dark */
.footer {
    background: var(--darker);
    color: var(--white);
    padding: 2.5rem 1.25rem 2rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-brand {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.footer-desc {
    color: var(--gray-light);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 0.875rem;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--gray-light);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-info {
    font-size: 0.75rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 0.625rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--gray-light);
    transition: all 0.15s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.footer-copy {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8125rem;
    color: var(--gray-light);
}

/* Model groups / Collapsible */
.model-group {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.model-group summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    transition: background 0.15s ease;
}

.model-group summary::-webkit-details-marker { display: none; }

.model-group summary::after {
    content: "▾";
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.model-group[open] summary::after {
    transform: rotate(180deg);
}

.model-group summary:hover {
    background: var(--gray-bg);
}

.model-group .prices {
    padding: 0 1rem 1rem;
}

.model-group .badge {
    background: #10b981;
    color: #fff;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    font-weight: 500;
}

/* Info boxes (OLED, rabatt) */
.info-box {
    background: transparent;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    text-align: center;
}

.info-title {
    color: var(--primary);
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.9375rem;
}

.info-text {
    font-size: 0.8125rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

.knapp-container {
    background-color: transparent;
}

/* Mobile */
@media (max-width: 900px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .features { grid-template-columns: repeat(2, 1fr); }
    .testimonials { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .header-inner { flex-wrap: wrap; }
    
    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 0.5rem 0 0;
        gap: 0.125rem;
    }
    
    .nav.active { display: flex; }
    
    .nav a {
        width: 100%;
        text-align: center;
        padding: 0.5625rem;
    }
    
    .nav .cta { margin: 0.125rem 0 0; }
    
    .mobile-toggle { display: block; }
    
    .hero { padding: 2.5rem 1rem; }
    .hero h1 { font-size: 1.5rem; }
    .hero p { font-size: 0.9375rem; }
    
    .section { padding: 2.5rem 1rem; }
    .section-title { font-size: 1.25rem; }
    
    .cards, .features, .testimonials, .process { grid-template-columns: 1fr; }
    
    .float { bottom: 0.75rem; right: 0.75rem; }
    .float-btn { padding: 0.625rem 0.875rem; font-size: 0.8125rem; }
    
    .footer-contact { flex-direction: column; gap: 0.75rem; }
}

/* Quick Contact Widget */
.quick-contact-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.quick-contact-button {
    padding: 1.05rem 1.52rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.quick-contact-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
}

/* FAQ Styles */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary-blue);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
    transition: color 0.2s ease;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    line-height: 1.7;
    color: var(--gray);
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.15);
}