:root {
  --bg-dark: #0f172a;
  --bg-light: #f8fafc;
  --accent: #2563eb;
  --text-dark: #0f172a;
  --text-light: #ffffff;
  --muted: #64748b;
  --card-bg: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero {
  background: #eef2ff;
  color: var(--text-dark);
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}


.logo-text {
  font-family: Candara, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;          /* Candara stöder 700 väl */
  letter-spacing: 0.5px;
  text-transform: lowercase;
  color: #131990;

  font-size: 64px;
  line-height: 1;
  margin-bottom: 32px;

  display: block;
  text-align: center;
}

/*test*/

.logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin-bottom: 32px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.hero-sub {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
  color: #475569; /* istället för #cbd5f5 */
  /*color: #cbd5f5;*/
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  border: 1px solid #94a3b8;
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 6px;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: #eef2ff;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.section-intro {
  max-width: 700px;
  margin-bottom: 40px;
  color: var(--muted);
}

.problem-list,
.trust-list {
  list-style: none;
  max-width: 700px;
}

.problem-list li,
.trust-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin-bottom: 12px;
}

.usecase {
  max-width: 700px;
  margin-bottom: 32px;
}

.step {
  background: white;
  padding: 20px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
}

.cta {
  background: var(--bg-dark);
  color: white;
  text-align: center;
}

.cta p {
  margin: 16px 0 32px;
  color: #cbd5f5;
}

footer {
  background: #020617;
  color: #94a3b8;
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

footer a {
  color: #cbd5f5;
  text-decoration: none;
}

/* Tablet and smaller screens */
@media (max-width: 768px) {
  .logo-text{
    font-size: 54px;
    margin-bottom: 28px;
  }
}

@media (max-width: 480px) {
  .logo-text{
    font-size: 44px;
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .logo {
    max-width: 260px;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .section h2 {
    font-size: 1.3rem;
  }

  .logo {
    max-width: 240px;
  }

  .container {
    padding: 0 16px;
  }
}

/* Force brand logo color inside hero (protect against overrides) 
.hero .logo-text {
  color: #131990 !important;
}

.logo-text { 
  color: #131990 !important;
 
}*/

