/* ===== RESET & GRUND ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-dark: #090d16;
    --bg-dark-card: #111827;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #cbd5e1;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent: #06b6d4;
    --success: #10b981;
    --border: #e2e8f0;
    --radius: 16px;
}

html { scroll-behavior: smooth; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif; }
body { background: var(--bg-light); color: var(--text-main); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.2s ease; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(9, 13, 22, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: var(--white);
}
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-badge {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; padding: 6px 10px; border-radius: 10px; font-size: 1rem;
}
.logo span.blue { color: #38bdf8; }

.nav-links { display: flex; gap: 28px; font-size: 0.95rem; font-weight: 500; color: var(--text-light); }
.nav-links a:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
    cursor: pointer; border: none; transition: all 0.2s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(37, 99, 235, 0.45); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.14); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.btn-light { background: #f1f5f9; color: var(--text-main); width: 100%; }
.btn-light:hover { background: #e2e8f0; }

/* ===== HERO ===== */
.hero {
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.28), transparent 45%),
                radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.18), transparent 40%),
                var(--bg-dark);
    color: #fff; padding: 90px 0 100px;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.95fr; gap: 48px; align-items: center; }

.status-pill {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7; padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
    margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }

.hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero h1 span { background: linear-gradient(90deg, #60a5fa, #22d3ee); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--text-light); font-size: 1.12rem; margin-bottom: 32px; max-width: 580px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px; padding: 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}
.hero-card h2 { font-size: 1.15rem; margin-bottom: 20px; color: #fff; }
.check-list { display: flex; flex-direction: column; gap: 16px; font-size: 0.95rem; color: var(--text-light); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-icon { color: #38bdf8; font-weight: 800; }

/* ===== SEKTIONER & KORT ===== */
.section { padding: 85px 0; }
.section-white { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head h2 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }


.price-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 34px; display: flex; flex-direction: column; justify-content: space-between;
    position: relative; box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04); transition: 0.25s ease;
}
.price-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09); }
.price-card.popular { border: 2px solid var(--primary); box-shadow: 0 18px 40px rgba(37, 99, 235, 0.14); }
.badge-popular {
    position: absolute; top: -14px; left: 28px;
    background: var(--primary); color: #fff; font-size: 0.78rem; font-weight: 700;
    padding: 4px 14px; border-radius: 999px;
}
.pkg-label { color: var(--primary); font-weight: 700; font-size: 0.9rem; }
.pkg-speed { font-size: 1.75rem; font-weight: 800; margin: 4px 0 12px; }
.pkg-desc { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 22px; }
.pkg-price { font-size: 2rem; font-weight: 800; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.pkg-features { display: flex; flex-direction: column; gap: 12px; font-size: 0.93rem; margin-bottom: 28px; }
.pkg-features li::before { content: "✓ "; color: var(--primary); font-weight: 800; margin-right: 6px; }

.addon-card {
    background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; transition: 0.2s ease;
}
.addon-card:hover { border-color: #93c5fd; background: #fff; }
.addon-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.addon-card p { color: var(--text-muted); font-size: 0.94rem; }

/* ===== KONTAKT & FORMULÄR ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 24px; }
.info-list { display: flex; flex-direction: column; gap: 12px; font-size: 0.96rem; }
.info-list a { color: var(--primary); font-weight: 600; }

.form-box {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 36px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px;
    font-size: 0.95rem; font-family: inherit; transition: 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }

.alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 16px; border-radius: 10px; font-weight: 500; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 14px; border-radius: 10px; margin-bottom: 18px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--bg-dark); color: #94a3b8; padding: 64px 0 32px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 14px; font-size: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: #64748b; }

/* ===== MOBILANPASSNING ===== */
@media (max-width: 900px) {
    .hero-grid, .grid-3, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .form-row { grid-template-columns: 1fr; }
}
/* ===== BESTÄLLNINGSMODAL ===== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(9, 13, 22, 0.78);
    backdrop-filter: blur(6px);
    display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.modal-overlay.active { display: flex; }

.modal-box {
    background: #fff; color: var(--text-main);
    width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto;
    border-radius: 20px; padding: 34px; position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    animation: modalPop 0.2s ease-out;
}
@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute; top: 20px; right: 20px;
    background: #f1f5f9; border: none; width: 36px; height: 36px;
    border-radius: 50%; font-size: 1.2rem; cursor: pointer; color: var(--text-muted);
}
.modal-close:hover { background: #e2e8f0; color: var(--text-main); }

.selected-plan-banner {
    background: #eff6ff; border: 1px solid #bfdbfe;
    border-radius: 12px; padding: 14px 18px; margin: 16px 0 22px;
    display: flex; justify-content: space-between; align-items: center;
}
.selected-plan-banner strong { color: var(--primary); font-size: 1.05rem; }

.form-group select {
    width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px;
    font-size: 0.95rem; font-family: inherit; background: #fff;
}
.checkbox-row {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem; margin: 14px 0 20px; color: var(--text-muted);
}
.checkbox-row input { width: 18px; height: 18px; accent-color: var(--primary); }

/* ===== STADSNÄTSVÄLJARE (TABS) ===== */
.network-tabs {
    display: flex; justify-content: center; gap: 14px;
    margin-bottom: 36px; flex-wrap: wrap;
}
.network-tab-btn {
    background: #fff; border: 2px solid var(--border); color: var(--text-main);
    padding: 14px 28px; border-radius: 14px; font-size: 1.05rem; font-weight: 700;
    cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.network-tab-btn:hover { border-color: #93c5fd; }
.network-tab-btn.active {
    background: var(--primary); border-color: var(--primary); color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}
.network-tab-badge {
    font-size: 0.75rem; padding: 2px 9px; border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
}
.network-tab-btn.active .network-tab-badge {
    background: rgba(255, 255, 255, 0.2); color: #fff;
}
.network-panel { display: none; }
.network-panel.active { display: block; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.grid-2-centered {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 820px;
    margin: 0 auto;
}

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

@media (max-width: 700px) {
    .grid-4, .grid-2-centered { grid-template-columns: 1fr; }
}

/* ===== FAQ / VANLIGA FRÅGOR ===== */
.faq-tabs {
    display: flex; justify-content: center; gap: 10px;
    margin-bottom: 32px; flex-wrap: wrap;
}
.faq-tab-btn {
    background: #fff; border: 1px solid var(--border); color: var(--text-muted);
    padding: 10px 20px; border-radius: 999px; font-size: 0.9rem; font-weight: 600;
    cursor: pointer; transition: 0.2s; font-family: inherit;
}
.faq-tab-btn:hover { border-color: #93c5fd; color: var(--text-main); }
.faq-tab-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: #fff; border: 1px solid var(--border); border-radius: 14px;
    overflow: hidden; transition: 0.2s;
}
.faq-item[open] { border-color: #93c5fd; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05); }
.faq-item summary {
    padding: 18px 24px; font-weight: 700; font-size: 1rem; cursor: pointer;
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; font-size: 1.4rem; color: var(--primary); font-weight: 400; transition: 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
    padding: 0 24px 20px; color: var(--text-muted); font-size: 0.94rem;
    line-height: 1.65; border-top: 1px solid #f1f5f9; padding-top: 16px;
}
.faq-answer p { margin-bottom: 10px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ===== MOBILMENY ===== */
.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.35rem;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: #0b1120;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 24px 24px;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav > a {
    padding: 13px 0;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav > a:hover {
    color: #38bdf8;
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

@media (max-width: 1024px) {
    .nav-links,
    .hide-mobile {
        display: none !important;
    }
    .mobile-menu-btn {
        display: inline-flex;
    }
}

/* ===== OM OSS ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 44px;
    align-items: center;
}
.about-badge {
    display: inline-block;
    background: #eff6ff;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.about-text h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.about-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}
.timeline-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.timeline-item {
    display: flex;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}
.timeline-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}
.timeline-year {
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 8px;
    height: fit-content;
    flex-shrink: 0;
}
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
}
