/* GoCloudED Solutions – shared stylesheet */
:root {
  --bg: #0b1220;
  --bg-soft: #111a2e;
  --card: #16213a;
  --border: #24314f;
  --text: #e8edf7;
  --muted: #9aa7c0;
  --accent-d1: #3b82f6;  /* EU migration – blue */
  --accent-b1: #10b981;  /* Managed drift – green */
  --accent-a1: #a855f7;  /* Elevate AI – purple */
  --gold: #fbbf24;
  --radius: 14px;
  --maxw: 1080px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0.9rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 42px; width: auto; display: block; }
.nav-links { display: flex; gap: 1.25rem; font-size: 0.92rem; color: var(--muted); flex-wrap: wrap; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 1.25rem 3.5rem; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(59, 130, 246, 0.18), transparent);
}
.hero.hero-d1::before { background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(59, 130, 246, 0.22), transparent); }
.hero.hero-b1::before { background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(16, 185, 129, 0.18), transparent); }
.hero.hero-a1::before { background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(168, 85, 247, 0.18), transparent); }
.hero-inner { max-width: 820px; margin: 0 auto; position: relative; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-soft); color: var(--muted); margin-bottom: 1.25rem;
}
.eyebrow strong { color: var(--text); }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 800; }
h1 .hl-d1 { color: var(--accent-d1); }
h1 .hl-b1 { color: var(--accent-b1); }
h1 .hl-a1 { color: var(--accent-a1); }
.lead { font-size: clamp(1.02rem, 2.2vw, 1.2rem); color: var(--muted); margin: 1.25rem auto 0; max-width: 640px; }
.hero-ctas { margin-top: 2.25rem; display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.85rem 1.75rem; border-radius: 10px;
  font-weight: 700; font-size: 0.98rem; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); }
button.btn { cursor: pointer; font-family: inherit; }
button.btn-ghost { border: 1px solid var(--border); }
.btn-primary { background: var(--accent-d1); color: #fff; box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35); }
.btn-primary:hover { background: #2f6fe0; }
.btn-b1 { background: var(--accent-b1); color: #06281c; box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3); }
.btn-a1 { background: var(--accent-a1); color: #fff; box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); background: var(--bg-soft); }
.btn-ghost:hover { border-color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 3.5rem 1.25rem; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.section-sub { color: var(--muted); max-width: 640px; margin-bottom: 2.25rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; transition: transform 0.15s, border-color 0.15s;
}
a.card:hover { transform: translateY(-4px); }
a.card.card-d1:hover { border-color: var(--accent-d1); }
a.card.card-b1:hover { border-color: var(--accent-b1); }
a.card.card-a1:hover { border-color: var(--accent-a1); }
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 6px; margin-bottom: 1rem;
}
.tag-d1 { background: rgba(59, 130, 246, 0.15); color: var(--accent-d1); }
.tag-b1 { background: rgba(16, 185, 129, 0.15); color: var(--accent-b1); }
.tag-a1 { background: rgba(168, 85, 247, 0.15); color: var(--accent-a1); }
.card-arrow { margin-top: 1.25rem; font-weight: 700; font-size: 0.9rem; }
.card-d1 .card-arrow { color: var(--accent-d1); }
.card-b1 .card-arrow { color: var(--accent-b1); }
.card-a1 .card-arrow { color: var(--accent-a1); }

/* ---------- Checklists ---------- */
.checklist { list-style: none; }
.checklist li { padding-left: 1.9rem; position: relative; margin-bottom: 0.8rem; color: var(--muted); }
.checklist li strong { color: var(--text); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--accent-b1);
}
.checklist-d1 li::before { color: var(--accent-d1); }
.checklist-a1 li::before { color: var(--accent-a1); }

/* ---------- Path / steps ---------- */
.path { display: flex; gap: 0.75rem; align-items: stretch; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.path-step {
  flex: 1 1 240px; max-width: 320px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; text-align: left; position: relative;
}
.path-step .step-num {
  width: 2rem; height: 2rem; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; margin-bottom: 0.9rem;
}
.path-arrow { align-self: center; color: var(--muted); font-size: 1.4rem; font-weight: 800; }
@media (max-width: 719px) { .path-arrow { transform: rotate(90deg); } }

/* ---------- Timeline ---------- */
.timeline { list-style: none; border-left: 2px solid var(--border); margin-left: 0.6rem; }
.timeline li { padding: 0 0 1.75rem 1.75rem; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -0.5rem; top: 0.35rem; width: 0.9rem; height: 0.9rem;
  border-radius: 999px; background: var(--accent-d1); border: 3px solid var(--bg);
}
.timeline .tl-week { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-d1); }
.timeline h3 { font-size: 1.05rem; margin: 0.15rem 0 0.3rem; }
.timeline p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); }
.spec-table th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.spec-table td { color: var(--text); }

/* ---------- Workflow / chat example ---------- */
.workflow { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; font-size: 0.95rem; }
.wf-msg { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.wf-msg:last-child { margin-bottom: 0; }
.wf-avatar {
  flex-shrink: 0; width: 2.1rem; height: 2.1rem; border-radius: 8px; display: flex;
  align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800;
}
.wf-user .wf-avatar { background: var(--border); color: var(--text); }
.wf-ai .wf-avatar { background: rgba(168, 85, 247, 0.2); color: var(--accent-a1); }
.wf-bubble { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 0.7rem 1rem; color: var(--muted); }
.wf-user .wf-bubble { color: var(--text); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 4rem 1.25rem; }
.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 2rem; }

/* ---------- Next-step link between pages ---------- */
.next-step {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1.75rem; flex-wrap: wrap;
}
.next-step .ns-label { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.next-step h3 { font-size: 1.15rem; margin-top: 0.2rem; }

/* ---------- Badges row ---------- */
.badges { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.badge {
  font-size: 0.8rem; font-weight: 600; color: var(--muted); border: 1px solid var(--border);
  background: var(--bg-soft); border-radius: 999px; padding: 0.35rem 0.95rem;
}

/* ---------- Nav CTA ---------- */
.nav-cta {
  background: var(--accent-d1); color: #fff !important; font-weight: 700;
  padding: 0.4rem 0.95rem; border-radius: 8px;
}
.nav-cta:hover { background: #2f6fe0; }

/* ---------- Språkväxlare ---------- */
.lang-switch { display: inline-flex; gap: 0.55rem; margin-left: 0.5rem; padding-left: 0.9rem; border-left: 1px solid var(--border); font-size: 0.8rem; }
.lang-switch a { color: var(--muted); font-weight: 600; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a.active { color: var(--text); font-weight: 800; }

/* ---------- Journey (D1 entry point) ---------- */
.path-step.step-primary { border-color: var(--accent-d1); box-shadow: 0 0 0 1px var(--accent-d1), 0 12px 32px rgba(59, 130, 246, 0.18); }
.step-badge {
  position: absolute; top: -0.75rem; right: 1rem; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; background: var(--accent-d1); color: #fff;
  padding: 0.2rem 0.6rem; border-radius: 999px;
}
.path-step .step-link { display: inline-block; margin-top: 0.75rem; font-weight: 700; font-size: 0.9rem; }
.journey-note { color: var(--muted); font-size: 0.92rem; margin-top: 1.75rem; }

/* ---------- Cross list (vad ingår inte) ---------- */
.crosslist { list-style: none; }
.crosslist li { padding-left: 1.9rem; position: relative; margin-bottom: 0.8rem; color: var(--muted); }
.crosslist li::before { content: "✗"; position: absolute; left: 0; top: 0; font-weight: 800; color: #ef4444; }

/* ---------- Pricing tiers ---------- */
.tier { display: flex; flex-direction: column; }
.tier .tier-price { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; margin: 0.35rem 0 0.2rem; }
.tier .tier-price small { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.tier .tier-desc { color: var(--muted); font-size: 0.88rem; margin-bottom: 1rem; }
.tier .checklist { font-size: 0.92rem; }
.tier .checklist li { margin-bottom: 0.55rem; }
.tier-featured { border-color: var(--accent-b1); }
.price-note { color: var(--muted); font-size: 0.88rem; margin-top: 1.5rem; }

/* ---------- Booking form ---------- */
.booking-form label, .form-group-label {
  display: block; font-weight: 600; font-size: 0.92rem; margin: 1.25rem 0 0.4rem;
}
.booking-form input[type="text"], .booking-form input[type="email"],
.booking-form input[type="tel"], .booking-form select {
  width: 100%; padding: 0.75rem 0.9rem; border-radius: 10px; font-size: 1rem;
  background: var(--card); border: 1px solid var(--border); color: var(--text);
}
.booking-form input:focus, .booking-form select:focus {
  outline: none; border-color: var(--accent-d1); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}
.check-row { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.check { display: flex; align-items: center; gap: 0.45rem; font-weight: 400 !important; margin: 0 !important; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--accent-d1); width: 1.05rem; height: 1.05rem; }
.btn-block { width: 100%; border: 0; cursor: pointer; margin-top: 2rem; font-family: inherit; }
.form-note { color: var(--muted); font-size: 0.85rem; text-align: center; margin-top: 1rem; }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.1rem 1.5rem; margin-bottom: 0.9rem;
}
.faq summary { font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-weight: 800; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 0.75rem; font-size: 0.95rem; }

/* ---------- Före/efter-scenarier ---------- */
.ba-pair { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.25rem; }
@media (min-width: 720px) { .ba-pair { grid-template-columns: 1fr 1fr; } }
.ba-col { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.ba-col ol { margin: 0.75rem 0 0 1.2rem; color: var(--muted); font-size: 0.92rem; }
.ba-col ol li { margin-bottom: 0.4rem; }
.ba-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.ba-before .ba-label { color: #ef4444; }
.ba-after { border-color: var(--accent-a1); }
.ba-after .ba-label { color: var(--accent-a1); }
.ba-time { margin-top: 0.9rem; font-weight: 700; font-size: 0.95rem; }
.ba-result {
  margin-top: 0.9rem; background: rgba(168, 85, 247, 0.1); border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 10px; padding: 0.8rem 1.1rem; font-weight: 700; font-size: 0.95rem;
}
.scenario { margin-bottom: 2.75rem; }
.scenario:last-child { margin-bottom: 0; }
.scenario > h3 { font-size: 1.2rem; }

/* ---------- Jämförelsetabell ---------- */
.spec-table .col-win { color: var(--accent-b1); font-weight: 700; }
.spec-table thead th { color: var(--text); font-weight: 800; border-bottom: 2px solid var(--border); }

/* ---------- Garanti-kort ---------- */
.guarantee { border-color: var(--gold); }
.guarantee .card-tag { background: rgba(251, 191, 36, 0.15); color: var(--gold); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(5, 9, 18, 0.78); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; z-index: 100; padding: 1rem;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; max-width: 440px; width: 100%; position: relative; max-height: 90vh; overflow: auto;
}
.modal h3 { font-size: 1.35rem; }
.modal > p { color: var(--muted); font-size: 0.95rem; margin-top: 0.5rem; }
.modal-close {
  position: absolute; top: 0.9rem; right: 1rem; background: none; border: 0;
  color: var(--muted); font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--text); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 2.5rem 1.25rem; text-align: center; color: var(--muted); font-size: 0.88rem; }
footer a { color: var(--text); }
footer a:hover { text-decoration: underline; }
