/* ============================================
   Tickoff AB — Premium Styles v2.0
   Based on Grafisk Manual 1.0
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  --turkos: #00ADBA;
  --turkos-dark: #009BA7;
  --ljusturkos: #75C0C5;
  --ljusturkos-pale: #d4eeef;
  --jord: #866E4F;
  --sand: #C3AE77;
  --djupbla: #00282E;
  --djupbla-light: #013a42;
  --mellanbla: #5D737B;
  --svart: #000000;
  --vit: #FFFFFF;
  --bg-light: #f4f7f8;
  --bg-glass: rgba(255,255,255,0.06);
  --border-glass: rgba(255,255,255,0.1);

  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(0,40,46,0.06);
  --shadow-md: 0 4px 24px rgba(0,40,46,0.08);
  --shadow-lg: 0 12px 48px rgba(0,40,46,0.12);
  --shadow-glow: 0 0 40px rgba(0,173,186,0.15);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--djupbla);
  line-height: 1.65;
  background: var(--vit);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a {
  color: var(--turkos);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--turkos-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { color: var(--mellanbla); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(0,40,46,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--vit);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
}

.nav-logo svg { height: 40px; width: auto; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.mobile-cta,
.mobile-lang {
  display: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 8px;
  position: relative;
  transition: all 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--vit);
  background: rgba(255,255,255,0.08);
}

/* Nav dropdown (services) */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a .nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
  flex-shrink: 0;
  opacity: 0.6;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--djupbla);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0 0 12px 12px;
  padding: 12px 8px 8px;
  min-width: 200px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown:hover > a .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--vit);
}

/* Language switcher */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.lang-btn:hover {
  background: rgba(255,255,255,0.14);
  color: var(--vit);
}

.lang-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--djupbla);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 6px;
  min-width: 140px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
}

.lang-dropdown.open { display: block; }

.lang-dropdown a {
  display: block;
  padding: 8px 12px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  border-radius: 6px;
  transition: all 0.15s;
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
  background: rgba(255,255,255,0.08);
  color: var(--vit);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-toggle:hover { background: rgba(255,255,255,0.08); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--vit);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--turkos), var(--turkos-dark));
  color: var(--vit);
  box-shadow: 0 4px 16px rgba(0,173,186,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,173,186,0.35);
  color: var(--vit);
}

.btn-outline {
  background: transparent;
  color: var(--vit);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: var(--vit);
  transform: translateY(-2px);
}

/* Outline button on light backgrounds */
.section-alt .btn-outline,
.section .btn-outline {
  color: var(--djupbla);
  border-color: var(--djupbla);
}

.section-alt .btn-outline:hover,
.section .btn-outline:hover {
  background: var(--djupbla);
  color: var(--vit);
  border-color: var(--djupbla);
}

.btn-dark-outline {
  background: transparent;
  color: var(--djupbla);
  border: 2px solid rgba(0,40,46,0.2);
}

.btn-dark-outline:hover {
  border-color: var(--turkos);
  color: var(--turkos);
  transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
  margin-top: var(--nav-height);
  background: var(--djupbla);
  color: var(--vit);
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* (hero background handled by .hero-mesh) */

/* Decorative grid overlay on hero (via pseudo-element) */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,173,186,0.12);
  border: 1px solid rgba(0,173,186,0.25);
  color: var(--turkos);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--turkos);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin-bottom: 24px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--turkos), var(--ljusturkos));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 40px;
  opacity: 0.8;
  line-height: 1.7;
  color: var(--vit);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Hero Entrance Animations --- */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .hero-content .badge,
.hero .hero-content > span {
  animation: heroFadeIn 0.7s cubic-bezier(0.25,0.46,0.45,0.94) both;
  animation-delay: 0.1s;
}

.hero .hero-content h1 {
  animation: heroFadeIn 0.7s cubic-bezier(0.25,0.46,0.45,0.94) both;
  animation-delay: 0.2s;
}

.hero .hero-description {
  animation: heroFadeIn 0.7s cubic-bezier(0.25,0.46,0.45,0.94) both;
  animation-delay: 0.35s;
}

.hero .hero-buttons {
  animation: heroFadeIn 0.7s cubic-bezier(0.25,0.46,0.45,0.94) both;
  animation-delay: 0.5s;
}

.hero .hero-trust {
  animation: heroFadeIn 0.7s cubic-bezier(0.25,0.46,0.45,0.94) both;
  animation-delay: 0.65s;
}

.hero .hero-visual {
  animation: heroFadeIn 0.8s cubic-bezier(0.25,0.46,0.45,0.94) both;
  animation-delay: 0.4s;
}

/* --- Hero CTA pulse glow --- */
.hero .btn-primary {
  font-size: 1.05rem;
  padding: 16px 32px;
  position: relative;
  animation: ctaGlow 3s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,173,186,0.3); }
  50% { box-shadow: 0 4px 35px rgba(0,173,186,0.55), 0 0 60px rgba(0,173,186,0.15); }
}

.hero .btn-outline {
  font-size: 1.05rem;
  padding: 16px 32px;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--vit);
  border-top: 1px solid rgba(0,0,0,0.04);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 40px 24px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(0,40,46,0.08);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--turkos);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--mellanbla);
  font-weight: 500;
}

/* --- USP Bar (sits under hero on service pages) --- */
.usp-bar {
  background: var(--vit);
  border-top: 1px solid rgba(0,0,0,0.04);
  padding: 56px 0;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.usp-card {
  text-align: center;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.usp-icon {
  width: 40px;
  height: 40px;
  color: var(--turkos);
  flex-shrink: 0;
  stroke-width: 1.5;
}

.usp-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--djupbla);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.usp-card p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--mellanbla);
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 480px) {
  .usp-grid { grid-template-columns: 1fr; gap: 20px; }
  .usp-bar { padding: 40px 0; }
}

/* --- Section Common --- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-dark {
  background: var(--djupbla);
  color: var(--vit);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,173,186,0.08), transparent 70%);
  border-radius: 50%;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  color: var(--djupbla);
  margin-bottom: 16px;
}

.section-dark .section-header h2 { color: var(--vit); }

.section-header p {
  color: var(--mellanbla);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header .accent-line {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--turkos), var(--ljusturkos));
  margin: 20px auto 0;
  border-radius: 2px;
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.card {
  background: var(--vit);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--turkos), var(--ljusturkos));
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(0,173,186,0.1), rgba(117,192,197,0.08));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--turkos);
  transition: all 0.3s;
}

.card:hover .card-icon {
  background: linear-gradient(135deg, var(--turkos), var(--ljusturkos));
  color: var(--vit);
  transform: scale(1.05);
}

.card h3 {
  color: var(--djupbla);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--turkos);
}

.card-link svg {
  transition: transform 0.2s;
}

.card:hover .card-link svg {
  transform: translateX(4px);
}

/* --- Page Header (inner pages) --- */
.page-header {
  margin-top: var(--nav-height);
  background: var(--djupbla);
  color: var(--vit);
  padding: 80px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,173,186,0.12), transparent 70%);
  border-radius: 50%;
}

.page-header .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 70% 40%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 70% 40%, black 20%, transparent 100%);
}

.page-header > * { position: relative; z-index: 2; }

.page-header .hero-badge { margin-bottom: 16px; }

.page-header h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 560px;
  margin: 0 auto;
  color: var(--vit);
}

/* --- About Page --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; line-height: 1.75; }

.about-visual {
  background: linear-gradient(135deg, var(--djupbla), var(--djupbla-light));
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
  color: var(--vit);
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,173,186,0.15), transparent 70%);
  border-radius: 50%;
}

.about-visual .big-check {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--turkos), var(--ljusturkos));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.fact-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--vit);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s;
}

.fact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.fact-card .fact-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--turkos);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.fact-card .fact-label {
  color: var(--mellanbla);
  font-size: 0.88rem;
}

/* --- Services Page --- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
}

.service-block + .service-block {
  border-top: 1px solid rgba(0,0,0,0.06);
}

.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-info h2 {
  margin-bottom: 16px;
  color: var(--djupbla);
}

.service-info p {
  margin-bottom: 16px;
  line-height: 1.75;
}

.service-info ul {
  list-style: none;
  margin-top: 20px;
}

.service-info ul li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--mellanbla);
  font-size: 0.95rem;
}

.service-info ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 7px;
  border-left: 2.5px solid var(--turkos);
  border-bottom: 2.5px solid var(--turkos);
  transform: rotate(-45deg);
}

.service-visual {
  background: linear-gradient(135deg, var(--djupbla), var(--djupbla-light));
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.service-visual::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,173,186,0.12), transparent 70%);
  border-radius: 50%;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.contact-form {
  background: var(--vit);
  padding: 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--djupbla);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid rgba(0,40,46,0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--djupbla);
  transition: all 0.25s;
  background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--turkos);
  background: var(--vit);
  box-shadow: 0 0 0 4px rgba(0,173,186,0.08);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300282E' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-group select option[value=""][disabled] {
  color: rgba(0,40,46,0.4);
}

/* GDPR checkbox */
.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--mellanbla);
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--turkos);
  cursor: pointer;
}

.form-checkbox a {
  color: var(--turkos);
  text-decoration: underline;
}

.form-checkbox a:hover {
  color: var(--turkos-dark);
}

/* reCAPTCHA spacing */
.g-recaptcha {
  margin-bottom: 24px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: var(--vit);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(0,173,186,0.1), rgba(117,192,197,0.08));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--turkos);
  font-size: 1.1rem;
}

.contact-card h4 { margin-bottom: 4px; }
.contact-card p,
.contact-card a {
  color: var(--mellanbla);
  font-size: 0.92rem;
}

/* --- Footer --- */
.footer {
  background: var(--djupbla);
  color: var(--vit);
  padding: 64px 0 24px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,173,186,0.05), transparent 70%);
  border-radius: 50%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  position: relative;
}

.footer-about p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.65;
}

.footer h4 {
  margin-bottom: 20px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ljusturkos);
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.footer-links a:hover {
  color: var(--vit);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  position: relative;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--turkos);
  color: var(--vit);
}

/* --- Form success --- */
.form-success {
  display: none;
  background: rgba(0,173,186,0.06);
  border: 2px solid rgba(0,173,186,0.2);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.form-success.show { display: block; }

.form-success h3 { color: var(--turkos); margin-bottom: 8px; }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--vit);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
}

.testimonial-card .quote-mark {
  font-size: 4rem;
  font-family: var(--font-heading);
  line-height: 1;
  color: var(--ljusturkos-pale);
  position: absolute;
  top: 20px;
  left: 28px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--mellanbla);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--turkos), var(--ljusturkos));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vit);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--djupbla);
}

.testimonial-author-info span {
  font-size: 0.82rem;
  color: var(--mellanbla);
}

/* === Landing Page: Service Detail === */
.landing-hero {
  margin-top: var(--nav-height);
  background: var(--djupbla);
  color: var(--vit);
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

.landing-hero .hero-bg {
  position: absolute;
  inset: 0;
}

.landing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.landing-hero > .container { position: relative; z-index: 2; }

.landing-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.landing-hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 20px;
}

.landing-hero-text p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 32px;
  color: var(--vit);
  line-height: 1.7;
}

/* Flow animation container */
.flow-animation {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 40px 24px;
  position: relative;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}

.flow-step.visible {
  opacity: 1;
  transform: translateX(0);
}

.flow-step-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
}

.flow-step-icon.active {
  background: var(--turkos);
  color: var(--vit);
  box-shadow: 0 0 20px rgba(0,173,186,0.3);
}

.flow-step-icon.pending {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}

.flow-step-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.flow-step-text.active-text {
  color: var(--vit);
}

.flow-step-text.pending-text {
  color: rgba(255,255,255,0.35);
}

.flow-connector {
  width: 2px;
  height: 20px;
  margin-left: 21px;
  position: relative;
}

.flow-connector .line {
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--turkos), rgba(0,173,186,0.3));
  transition: height 0.4s ease;
}

.flow-connector.visible .line {
  height: 100%;
}

/* Features grid on landing pages */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--vit);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,173,186,0.1), rgba(117,192,197,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--turkos);
}

.feature-card h3 { margin-bottom: 8px; color: var(--djupbla); }
.feature-card p { font-size: 0.9rem; line-height: 1.65; }

/* Highlight / Premium feature box */
.premium-feature {
  background: linear-gradient(135deg, rgba(0,173,186,0.04), rgba(117,192,197,0.04));
  border: 2px solid rgba(0,173,186,0.15);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--turkos), var(--turkos-dark));
  color: var(--vit);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.premium-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--turkos), var(--ljusturkos));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vit);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.premium-feature h3 { margin-bottom: 8px; }
.premium-feature p { font-size: 0.95rem; line-height: 1.7; }

/* Reference box on landing page */
.reference-box {
  background: var(--djupbla);
  border-radius: var(--radius);
  padding: 48px;
  color: var(--vit);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.reference-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,173,186,0.12), transparent 70%);
  border-radius: 50%;
}

.reference-box > * { position: relative; z-index: 1; }
.reference-box h3 { margin-bottom: 12px; font-size: 1.5rem; }
.reference-box p { color: rgba(255,255,255,0.7); line-height: 1.7; }

.reference-box-visual {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--turkos);
  letter-spacing: -0.02em;
}

/* CTA section */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: var(--djupbla);
  color: var(--vit);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,173,186,0.08) 0%, transparent 70%);
}

.cta-section > * { position: relative; z-index: 1; }

.cta-section h2 { margin-bottom: 16px; }

.cta-section p {
  max-width: 500px;
  margin: 0 auto 32px;
  opacity: 0.7;
  color: var(--vit);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,173,186,0.12);
  border: 1px solid rgba(0,173,186,0.25);
  color: var(--turkos);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.page-header .badge {
  margin-bottom: 16px;
}

/* --- Hero Grid Layout --- */
.hero .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-description {
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 40px;
  opacity: 0.8;
  line-height: 1.7;
  color: var(--vit);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-box {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 24px;
}

.hero-visual-box svg {
  width: 100%;
  height: auto;
}

/* --- Solutions Grid (homepage) --- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.solution-card {
  display: block;
  background: var(--vit);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--turkos), var(--ljusturkos));
  opacity: 0;
  transition: opacity 0.3s;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.solution-card:hover::before { opacity: 1; }

.solution-card .card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
}

.solution-card .card-icon svg {
  width: 100%;
  height: 100%;
}

.solution-card h3 {
  color: var(--djupbla);
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

.solution-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--turkos);
}

.solution-card .card-link svg {
  transition: transform 0.2s;
}

.solution-card:hover .card-link svg {
  transform: translateX(4px);
}

/* --- Testimonials --- */
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--mellanbla);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--turkos), var(--ljusturkos));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vit);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* --- CTA Section --- */
.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- About Grid --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-grid-reverse {
  direction: rtl;
}

.about-grid-reverse > * {
  direction: ltr;
}

.about-text h2 {
  margin-bottom: 20px;
  color: var(--djupbla);
}

.about-text p {
  margin-bottom: 16px;
  line-height: 1.75;
}

.visual-box {
  background: rgba(0,40,46,0.03);
  border: 1px solid rgba(0,40,46,0.06);
  border-radius: var(--radius);
  padding: 24px;
}

.visual-box svg {
  width: 100%;
  height: auto;
}

/* --- Service block reverse --- */
.service-block-reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  direction: rtl;
}

.service-block-reverse > * {
  direction: ltr;
}

/* --- Feature List --- */
.feature-list {
  list-style: none;
  margin: 20px 0 28px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--mellanbla);
  font-size: 0.95rem;
}

.feature-list li svg {
  flex-shrink: 0;
}

/* --- Custom Features (services page) --- */
.custom-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.custom-feature {
  text-align: center;
  padding: 36px 24px;
  background: var(--vit);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s;
}

.custom-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.custom-feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.custom-feature-icon svg {
  width: 100%;
  height: 100%;
}

.custom-feature h3 {
  margin-bottom: 8px;
  color: var(--djupbla);
}

.custom-feature p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--vit);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}

.team-avatar svg {
  width: 100%;
  height: 100%;
}

.team-card h3 {
  margin-bottom: 4px;
  color: var(--djupbla);
}

.team-role {
  display: block;
  font-size: 0.88rem;
  color: var(--turkos);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.team-contact {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.team-contact a {
  font-size: 0.88rem;
  color: var(--turkos);
  font-weight: 500;
}

/* --- Fact Icon --- */
.fact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
}

.fact-icon svg {
  width: 100%;
  height: 100%;
}

.fact-card h3 {
  color: var(--djupbla);
  margin-bottom: 6px;
}

/* --- Contact Form Wrapper --- */
.contact-form-wrapper {
  background: var(--vit);
  padding: 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}

.contact-form-wrapper h2 {
  margin-bottom: 8px;
  color: var(--djupbla);
}

.contact-form-wrapper > p {
  margin-bottom: 28px;
}

.btn-full {
  width: 100%;
}

/* --- Contact Info (sidebar) --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card h3 {
  margin-bottom: 4px;
  color: var(--djupbla);
  font-size: 1rem;
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon svg {
  width: 36px;
  height: 36px;
}

/* --- Section header with badge --- */
.section-header .badge {
  display: inline-flex;
  margin-bottom: 12px;
}

/* --- Gradient Mesh Background in Hero --- */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-mesh::before,
.hero-mesh::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.hero-mesh::before {
  width: 70%;
  height: 70%;
  top: -20%;
  right: -15%;
  background: radial-gradient(circle, rgba(0,173,186,0.35) 0%, rgba(0,40,46,0) 70%);
  animation: meshMove1 12s ease-in-out infinite alternate;
}

.hero-mesh::after {
  width: 60%;
  height: 60%;
  bottom: -25%;
  left: -10%;
  background: radial-gradient(circle, rgba(117,192,197,0.25) 0%, rgba(0,40,46,0) 70%);
  animation: meshMove2 15s ease-in-out infinite alternate;
}

@keyframes meshMove1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.1); }
  100% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes meshMove2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -25px) scale(1.08); }
  100% { transform: translate(-15px, 15px) scale(0.97); }
}

/* Third mesh blob via the hero-mesh element's own background */
.hero-mesh {
  background:
    radial-gradient(ellipse 40% 50% at 50% 60%, rgba(0,173,186,0.12) 0%, transparent 70%);
  animation: meshMove3 18s ease-in-out infinite alternate;
}

@keyframes meshMove3 {
  0% { background-position: 50% 60%; }
  50% { background-position: 45% 55%; }
  100% { background-position: 55% 65%; }
}

/* --- Nav logo as image --- */
.nav-logo img {
  height: 38px;
  width: auto;
}

.footer .nav-logo img {
  height: 32px;
  width: auto;
}

/* --- Nav CTA button --- */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--turkos), var(--turkos-dark));
  color: var(--vit) !important;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 8px;
  transition: all 0.3s;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,173,186,0.2);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,173,186,0.35);
  color: var(--vit) !important;
}

/* --- Hero Explainer Animation --- */
.hero-explainer {
  width: 100%;
  max-width: 480px;
  background: rgba(0,50,58,0.7);
  border: 1px solid rgba(0,173,186,0.15);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3), 0 0 80px rgba(0,173,186,0.08);
}

.hero-explainer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--turkos), var(--ljusturkos), var(--turkos));
  background-size: 200% 100%;
  animation: shimmerBar 3s ease-in-out infinite;
}

@keyframes shimmerBar {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.explainer-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--turkos);
  margin-bottom: 24px;
}

.explainer-scene {
  position: relative;
  height: 200px;
  margin-bottom: 20px;
  overflow: hidden;
}

/* Road */
.explainer-road {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
}

.explainer-road::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.25) 0px, rgba(255,255,255,0.25) 20px, transparent 20px, transparent 40px);
  animation: roadMove 2s linear infinite;
}

@keyframes roadMove {
  from { transform: translateX(0); }
  to { transform: translateX(-40px); }
}

/* Car in scene */
.explainer-car {
  position: absolute;
  bottom: 40px;
  left: -80px;
  width: 70px;
  height: 35px;
  transition: left 1.5s cubic-bezier(0.25,0.46,0.45,0.94);
  z-index: 2;
  overflow: hidden;
}

.explainer-car.drive-in {
  left: 30px;
}

.explainer-car.drive-in.enter-wash {
  left: calc(100% - 105px);
  transition: left 1.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

.explainer-car.drive-in.enter-wash.back-out {
  left: 30px;
  transition: left 1.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.explainer-car svg {
  width: 100%;
  height: 100%;
}

/* Camera */
.explainer-camera {
  position: absolute;
  top: 20px;
  right: 60px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
}

.explainer-camera.active {
  opacity: 1;
  transform: scale(1);
}

/* Scan beam */
.explainer-scan {
  position: absolute;
  top: 55px;
  right: 72px;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--turkos), transparent);
  transition: height 0.5s ease;
  box-shadow: 0 0 10px var(--turkos);
}

.explainer-scan.active {
  height: 80px;
}

/* Plate popup */
.explainer-plate {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background: rgba(0,173,186,0.15);
  border: 1px solid rgba(0,173,186,0.3);
  border-radius: 8px;
  padding: 6px 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--turkos);
  white-space: nowrap;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.explainer-plate.show {
  transform: translateX(-50%) scale(1);
}

/* Gate */
.explainer-gate {
  position: absolute;
  right: 140px;
  bottom: 40px;
  width: 8px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  transform-origin: bottom right;
  transition: transform 0.8s ease;
}

.explainer-gate.open {
  transform: rotate(-80deg);
}

/* Checkmark */
.explainer-check {
  position: absolute;
  bottom: 100px;
  right: 60px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--turkos);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.explainer-check.show {
  opacity: 1;
  transform: scale(1);
}

.explainer-check svg {
  width: 18px;
  height: 18px;
}

/* Car wash tunnel */
.explainer-tunnel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.tunnel-sign {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--turkos);
  background: rgba(0,173,186,0.12);
  border: 1px solid rgba(0,173,186,0.2);
  padding: 2px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Brushes */
.tunnel-brush {
  position: absolute;
  bottom: 40px;
  width: 12px;
  height: 80px;
  border-radius: 6px;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,173,186,0.3) 0px,
    rgba(0,173,186,0.3) 4px,
    rgba(117,192,197,0.15) 4px,
    rgba(117,192,197,0.15) 8px
  );
  opacity: 0.5;
  transition: opacity 0.5s;
}

.brush-left {
  left: 20px;
}

.brush-right {
  right: 20px;
}

.explainer-tunnel.washing .tunnel-brush {
  opacity: 1;
  animation: brushSpin 0.6s linear infinite;
}

@keyframes brushSpin {
  0% { border-radius: 6px; transform: scaleX(1); }
  25% { border-radius: 8px; transform: scaleX(1.15); }
  50% { border-radius: 6px; transform: scaleX(1); }
  75% { border-radius: 8px; transform: scaleX(0.85); }
  100% { border-radius: 6px; transform: scaleX(1); }
}

/* Spray */
.tunnel-spray {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  bottom: 40px;
  opacity: 0;
  transition: opacity 0.5s;
}

.explainer-tunnel.washing .tunnel-spray {
  opacity: 1;
}

.spray-drop {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(0,173,186,0.6);
  box-shadow: 0 0 4px rgba(0,173,186,0.4);
}

.explainer-tunnel.washing .spray-drop {
  animation: sprayFall 0.8s linear infinite;
}

.spray-drop:nth-child(1) { left: 25%; animation-delay: 0s; }
.spray-drop:nth-child(2) { left: 40%; animation-delay: 0.15s; }
.spray-drop:nth-child(3) { left: 55%; animation-delay: 0.3s; }
.spray-drop:nth-child(4) { left: 70%; animation-delay: 0.1s; }
.spray-drop:nth-child(5) { left: 35%; animation-delay: 0.45s; }
.spray-drop:nth-child(6) { left: 60%; animation-delay: 0.25s; }

@keyframes sprayFall {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Car entering tunnel */
.explainer-car.enter-wash {
  left: 80px;
  transition: left 1.5s cubic-bezier(0.25,0.46,0.45,0.94);
}

.explainer-car.exit-wash {
  left: calc(100% + 80px);
  transition: left 1.8s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* Clean car shine */
.car-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  opacity: 0;
  transform: translateX(-100%);
}

.explainer-car.clean .car-shine {
  opacity: 1;
  animation: shineSlide 1s ease-out forwards;
}

@keyframes shineSlide {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

/* Steps indicator */
.explainer-steps {
  display: flex;
  gap: 4px;
}

.explainer-step-dot {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  transition: background 0.4s;
}

.explainer-step-dot.active {
  background: var(--turkos);
}

.explainer-step-label {
  margin-top: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  min-height: 1.2em;
  transition: color 0.3s;
}

/* --- Trust signal under hero buttons --- */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.hero-trust .trust-avatars {
  display: flex;
}

.hero-trust .trust-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--turkos), var(--ljusturkos));
  border: 2px solid var(--djupbla);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--vit);
  font-weight: 700;
  margin-right: -8px;
}

.hero-trust .trust-avatar:last-child {
  margin-right: 0;
}

/* --- How It Works section --- */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.how-it-works-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--turkos), var(--ljusturkos), var(--turkos));
  opacity: 0.2;
}

.how-step {
  text-align: center;
  position: relative;
}

.how-step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,173,186,0.1), rgba(117,192,197,0.06));
  border: 2px solid rgba(0,173,186,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

.how-step:hover .how-step-number {
  background: linear-gradient(135deg, var(--turkos), var(--ljusturkos));
  border-color: var(--turkos);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0,173,186,0.2);
}

.how-step:hover .how-step-number svg {
  color: var(--vit);
}

.how-step-number svg {
  width: 28px;
  height: 28px;
  color: var(--turkos);
  transition: color 0.3s;
}

.how-step h3 {
  margin-bottom: 8px;
}

.how-step p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Why Tickoff section --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--vit);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,173,186,0.1), rgba(117,192,197,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--turkos);
  transition: all 0.3s;
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--turkos), var(--ljusturkos));
  color: var(--vit);
  transform: scale(1.1);
}

.why-icon svg {
  width: 26px;
  height: 26px;
}

.why-card h3 { margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; line-height: 1.6; }

/* --- Featured solutions (larger cards for biltvätt/lastbilstvätt) --- */
.featured-solutions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.featured-card {
  display: block;
  background: linear-gradient(135deg, var(--djupbla), var(--djupbla-light));
  border-radius: var(--radius);
  padding: 40px 32px;
  color: var(--vit);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.35s;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,173,186,0.12), transparent 70%);
  border-radius: 50%;
  transition: all 0.4s;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: var(--vit);
}

.featured-card:hover::before {
  transform: scale(1.5);
}

.featured-card .card-icon {
  background: rgba(0,173,186,0.15);
  border: 1px solid rgba(0,173,186,0.2);
  margin-bottom: 20px;
  width: 52px;
  height: 52px;
  color: var(--turkos);
}

.featured-card .featured-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--turkos);
  margin-bottom: 12px;
}

.featured-card h3 {
  color: var(--vit);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.featured-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.featured-card .card-link {
  color: var(--turkos);
}

/* --- Scroll indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 10;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Demo Modal --- */
.demo-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,20,24,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}

.demo-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.demo-modal {
  background: var(--vit);
  border-radius: var(--radius);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}

.demo-modal-overlay.active .demo-modal {
  transform: translateY(0);
}

.demo-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.demo-modal-close:hover {
  background: rgba(0,40,46,0.1);
}

.demo-modal-close svg {
  width: 18px;
  height: 18px;
  color: var(--djupbla);
}

.demo-modal h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--djupbla);
  margin-bottom: 8px;
}

.demo-modal > p {
  font-size: 0.92rem;
  color: var(--mellanbla);
  margin-bottom: 28px;
  line-height: 1.5;
}

.demo-modal .form-group {
  margin-bottom: 20px;
}

.demo-modal .btn-primary {
  width: 100%;
}

.demo-modal-success {
  display: none;
  text-align: center;
  padding: 32px 0;
}

.demo-modal-success.show {
  display: block;
}

.demo-modal-success svg {
  width: 56px;
  height: 56px;
  color: var(--turkos);
  margin-bottom: 16px;
}

.demo-modal-success h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--djupbla);
  margin-bottom: 8px;
}

.demo-modal-success p {
  color: var(--mellanbla);
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .demo-modal {
    padding: 28px 20px;
    max-height: 85vh;
  }
}

/* --- FAQ Section --- */
.faq-grid {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,40,46,0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--djupbla);
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--turkos);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--turkos);
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--mellanbla);
}

/* --- Hero Dashboard Mockup --- */
.hero-dashboard {
  width: 100%;
  max-width: 440px;
  background: rgba(0,40,46,0.8);
  border: 1px solid rgba(0,173,186,0.15);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3), 0 0 60px rgba(0,173,186,0.06);
  font-family: var(--font-body);
  animation: heroFadeIn 0.8s cubic-bezier(0.25,0.46,0.45,0.94) both;
  animation-delay: 0.4s;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dashboard-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #2ecc71;
}

.dashboard-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ecc71;
  animation: pulse 2s ease-in-out infinite;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.dashboard-metric {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  opacity: 0;
  animation: dashMetricIn 0.5s ease forwards;
}

.dashboard-metric:nth-child(1) { animation-delay: 0.6s; }
.dashboard-metric:nth-child(2) { animation-delay: 0.8s; }
.dashboard-metric:nth-child(3) { animation-delay: 1.0s; }

@keyframes dashMetricIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dashboard-metric-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--turkos);
  line-height: 1;
  margin-bottom: 4px;
}

.dashboard-metric-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Dashboard graph */
.dashboard-graph {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  opacity: 0;
  animation: dashMetricIn 0.5s ease forwards;
  animation-delay: 1.2s;
}

.dashboard-graph-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.dashboard-graph svg {
  width: 100%;
  height: 60px;
}

.dashboard-graph-line {
  stroke: var(--turkos);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawGraph 2s ease forwards;
  animation-delay: 1.5s;
}

.dashboard-graph-fill {
  fill: url(#graphGradient);
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  animation-delay: 3s;
}

@keyframes drawGraph {
  to { stroke-dashoffset: 0; }
}

@keyframes fadeIn {
  to { opacity: 0.3; }
}

/* Dashboard events */
.dashboard-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dashboard-event {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  font-size: 0.75rem;
  opacity: 0;
  animation: dashEventIn 0.4s ease forwards;
}

.dashboard-event:nth-child(1) { animation-delay: 2.0s; }
.dashboard-event:nth-child(2) { animation-delay: 2.4s; }
.dashboard-event:nth-child(3) { animation-delay: 2.8s; }

@keyframes dashEventIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.dashboard-event-text {
  color: rgba(255,255,255,0.6);
}

.dashboard-event-text strong {
  color: var(--turkos);
}

.dashboard-event-time {
  color: rgba(255,255,255,0.25);
  font-size: 0.68rem;
}

@media (max-width: 768px) {
  .hero-dashboard {
    max-width: 100%;
  }
  .dashboard-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .dashboard-metric-value {
    font-size: 1.1rem;
  }
}

/* --- Pain Points Section --- */
.pain-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.pain-point-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--vit);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  border-left: 4px solid #e74c3c;
}

.pain-point-card .pain-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: #e74c3c;
}

.pain-point-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--djupbla);
  margin-bottom: 6px;
}

.pain-point-card p {
  font-size: 0.88rem;
  color: var(--mellanbla);
  line-height: 1.5;
}

/* --- Solution Blocks --- */
.solution-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.solution-block {
  text-align: center;
  padding: 32px 24px;
  background: var(--vit);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
}

.solution-block .solution-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--turkos);
}

.solution-block h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.solution-block p {
  font-size: 0.9rem;
  color: var(--mellanbla);
  line-height: 1.6;
}

/* --- ROI Comparison --- */
.roi-compare {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}

.roi-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--djupbla);
  color: var(--vit);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
}

.roi-header span {
  padding: 16px 20px;
  text-align: center;
}

.roi-header span:first-child {
  text-align: left;
  color: rgba(255,255,255,0.6);
}

.roi-header .roi-before {
  background: rgba(231,76,60,0.15);
  color: #e74c3c;
}

.roi-header .roi-after {
  background: rgba(0,173,186,0.15);
  color: var(--turkos);
}

.roi-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.roi-row:last-child {
  border-bottom: none;
}

.roi-row span {
  padding: 14px 20px;
  font-size: 0.9rem;
  text-align: center;
}

.roi-row span:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--djupbla);
}

.roi-row .roi-bad {
  color: #e74c3c;
  background: rgba(231,76,60,0.03);
}

.roi-row .roi-good {
  color: var(--turkos);
  font-weight: 700;
  background: rgba(0,173,186,0.03);
}

/* --- Prospect Section (Bilprospekt) --- */
.prospect-section {
  background: linear-gradient(135deg, var(--djupbla) 0%, var(--djupbla-light) 100%);
  color: var(--vit);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.prospect-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.prospect-text .badge {
  background: rgba(0,173,186,0.15);
  border: 1px solid rgba(0,173,186,0.3);
  color: var(--turkos);
}

.prospect-text h2 {
  color: var(--vit);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 16px 0;
}

.prospect-text p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.prospect-text .partner-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-top: 24px;
}

.prospect-flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prospect-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.prospect-step-num {
  width: 36px;
  height: 36px;
  background: var(--turkos);
  color: var(--vit);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.prospect-step-text h4 {
  font-size: 0.95rem;
  color: var(--vit);
  margin-bottom: 4px;
}

.prospect-step-text p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* --- Timeline (About page) --- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--turkos), var(--ljusturkos));
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--turkos);
  border-radius: 50%;
  border: 3px solid var(--bg-light);
  z-index: 1;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--turkos);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.timeline-item h3 {
  font-size: 1.05rem;
  color: var(--djupbla);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--mellanbla);
  line-height: 1.6;
}

/* --- Trust Bar --- */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: rgba(0,173,186,0.06);
  border-radius: var(--radius);
  margin-bottom: 32px;
}

.trust-bar svg {
  width: 24px;
  height: 24px;
  color: var(--turkos);
  flex-shrink: 0;
}

.trust-bar p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--djupbla);
  margin: 0;
}

/* --- Cross-links (See Also) --- */
.cross-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.cross-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-light);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--djupbla);
  transition: all 0.2s;
}

.cross-link:hover {
  background: var(--turkos);
  color: var(--vit);
}

/* --- Slide-in animations --- */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive: new components --- */
@media (max-width: 768px) {
  .pain-points { grid-template-columns: 1fr; }
  .solution-blocks { grid-template-columns: 1fr; }
  .roi-header, .roi-row { grid-template-columns: 1fr 1fr 1fr; font-size: 0.8rem; }
  .roi-row span, .roi-header span { padding: 10px 12px; }
  .prospect-content { grid-template-columns: 1fr; }
  .timeline { padding-left: 32px; }
  .timeline::before { left: 11px; }
  .timeline-dot { left: -28px; }
}

/* --- Reference Logo Bar --- */
.ref-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  padding: 24px 0;
}

.ref-logo-item {
  opacity: 0.45;
  filter: grayscale(100%);
  transition: all 0.3s;
}

.ref-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* --- Case Studies / Kundcase --- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case-card {
  background: var(--vit);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
  text-decoration: none;
  color: inherit;
  display: block;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,40,46,0.12);
}

.case-card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--djupbla), var(--djupbla-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.case-card-image .case-icon {
  width: 64px;
  height: 64px;
  color: var(--turkos);
  opacity: 0.6;
}

.case-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0,173,186,0.9);
  color: var(--vit);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.case-card-body {
  padding: 28px;
}

.case-card-company {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--djupbla);
  margin-bottom: 8px;
}

.case-card-summary {
  font-size: 0.92rem;
  color: var(--mellanbla);
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-card-stats {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.case-card-stat {
  text-align: center;
}

.case-card-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--turkos);
  line-height: 1;
}

.case-card-stat span {
  font-size: 0.75rem;
  color: var(--mellanbla);
}

.case-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--turkos);
  margin-top: 16px;
}

.case-card:hover .case-card-link {
  gap: 10px;
}

/* Case detail page */
.case-detail-hero {
  background: var(--djupbla);
  color: var(--vit);
  padding: 120px 24px 80px;
  margin-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.case-detail-hero .hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.case-detail-hero .container {
  position: relative;
  z-index: 2;
}

.case-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.case-detail-meta .badge {
  background: rgba(0,173,186,0.15);
  border: 1px solid rgba(0,173,186,0.3);
  color: var(--turkos);
}

.case-detail-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  line-height: 1.15;
}

.case-detail-hero p {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 640px;
}

.case-section {
  padding: 80px 0;
}

.case-section:nth-child(even) {
  background: var(--bg-light);
}

.case-section-inner {
  max-width: 780px;
  margin: 0 auto;
}

.case-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--turkos);
  margin-bottom: 16px;
}

.case-section-label .case-step {
  width: 28px;
  height: 28px;
  background: var(--turkos);
  color: var(--vit);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.case-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 24px;
  color: var(--djupbla);
}

.case-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--mellanbla);
}

.case-quote {
  background: var(--djupbla);
  color: var(--vit);
  padding: 60px 24px;
  text-align: center;
}

.case-quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 500;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto 24px;
  font-style: italic;
}

.case-quote cite {
  font-size: 0.9rem;
  opacity: 0.7;
  font-style: normal;
}

.case-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px 0;
  text-align: center;
}

.case-stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--turkos);
  line-height: 1;
  margin-bottom: 8px;
}

.case-stat-item span {
  font-size: 0.88rem;
  color: var(--mellanbla);
}

/* Filter buttons */
.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}

.case-filter-btn {
  background: transparent;
  border: 1px solid rgba(0,40,46,0.15);
  color: var(--mellanbla);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}

.case-filter-btn:hover,
.case-filter-btn.active {
  background: var(--turkos);
  border-color: var(--turkos);
  color: var(--vit);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .landing-hero-content { grid-template-columns: 1fr; }
  .flow-animation { max-width: 400px; }
  .reference-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero .hero-grid { grid-template-columns: 1fr; }
  .hero .hero-visual { display: none; }
  .landing-hero .hero-visual { display: flex; }
  .hero-dashboard { max-width: 100%; }
  .hero-explainer { max-width: 380px; }
  .featured-solutions { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .about-content,
  .service-block,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-block.reverse { direction: ltr; }

  .hero { min-height: auto; padding: 80px 24px 60px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .premium-feature { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid-reverse { direction: ltr; }
  .service-block-reverse { grid-template-columns: 1fr; direction: ltr; }
  .how-it-works-grid { grid-template-columns: 1fr; gap: 32px; }
  .how-it-works-grid::before { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-stats-bar { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 64px 0; }
  .page-header { padding: 56px 24px 48px; }

  .navbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--djupbla);
  }

  .nav-toggle {
    display: flex;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-cta { display: none; }
  .lang-switcher { display: none; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,40,46,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 16px;
    font-size: 1rem;
  }

  /* CTA button inside mobile menu */
  .nav-links .mobile-cta {
    display: block;
    margin-top: 16px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--turkos), var(--turkos-dark));
    color: var(--vit) !important;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,173,186,0.25);
  }

  /* Language row inside mobile menu */
  .mobile-lang {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .mobile-lang a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px !important;
    font-size: 0.82rem !important;
    font-weight: 600;
    color: rgba(255,255,255,0.5) !important;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    min-width: 44px;
    text-align: center;
  }

  .mobile-lang a:hover,
  .mobile-lang a.active {
    color: var(--vit) !important;
    background: rgba(0,173,186,0.2);
  }

  .nav-dropdown-menu {
    display: none;
    position: static;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: 0;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown:hover.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    padding: 10px 16px;
    font-size: 0.95rem;
  }

  .nav-toggle { display: flex; }

  .contact-form { padding: 28px 20px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 28px 16px; }
  .stat-item::after { display: none; }

  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .landing-hero-content { grid-template-columns: 1fr; gap: 40px; }
  .reference-box { grid-template-columns: 1fr; padding: 32px; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 28px 20px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .hero-explainer { display: none; }
  .hero-trust { justify-content: center; }
  .hero-content { text-align: center; }
  .hero-buttons { justify-content: center; }
  .nav-cta { display: none; }
  .scroll-indicator { display: none; }
  .featured-solutions { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}
