/* about.css — "Hvad er Logbogen?" landingsside
   ============================================================
   Matcher Logbogens SaaS-æstetik: mørk navy, rent, flade flader,
   SVG-ikoner, ingen emoji. Restrained og professionelt. */

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

:root {
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --ink: #1f2933;
  --ink-soft: #64748b;
  --line: #e7ebf0;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
}

body {
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

.about-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-icon {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- HERO ---------- */
.about-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.88)),
    url("../img/backgrounds/login-bg-desktop.jpg");
  background-size: cover;
  background-position: center center;
}

.about-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  padding: 22px 24px;
}

.about-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.about-nav__icon {
  width: 26px;
  height: 26px;
  color: #ffffff;
}

.about-nav__login {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.about-nav__login:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.about-hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  padding: 60px 24px 80px;
}

.about-hero__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 720px;
}

.about-hero__lead {
  font-size: 20px;
  line-height: 1.55;
  margin-top: 20px;
  max-width: 620px;
  color: #e2e8f0;
}

.about-hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* ---------- KNAPPER ---------- */
.about-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.about-btn--primary {
  background: var(--blue);
  color: #ffffff;
}

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

.about-btn--ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.about-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.about-btn--lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* ---------- SEKTIONER ---------- */
.about-section {
  padding: 76px 0;
}

.about-section__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.about-section__text {
  font-size: 18px;
  color: var(--ink-soft);
  text-align: center;
  max-width: 720px;
  margin: 20px auto 0;
}

.about-intro {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- FUNKTIONS-GRID ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.about-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

.about-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 12px;
  background: #eff4ff;
  color: var(--blue);
  margin-bottom: 18px;
}

.about-card__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.about-card__text {
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* ---------- ROLLER ---------- */
.about-roles {
  background: var(--navy);
  color: #ffffff;
}

.about-roles .about-section__title {
  color: #ffffff;
}

.about-roles__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.about-role {
  background: var(--navy-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 34px 30px;
}

.about-role__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.18);
  color: #93c5fd;
  margin-bottom: 20px;
}

.about-role__title {
  font-size: 22px;
  font-weight: 700;
}

.about-role__text {
  font-size: 16px;
  color: #cbd5e1;
  margin-top: 12px;
}

/* ---------- CTA ---------- */
.about-cta {
  text-align: center;
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}

.about-cta__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-cta__text {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 18px auto 30px;
}

.about-cta__sub {
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: 22px;
}

.about-cta__sub a {
  color: var(--blue);
  font-weight: 600;
}

/* ---------- FOOTER ---------- */
.about-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 26px 0;
}

.about-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.about-footer a {
  color: #93c5fd;
  text-decoration: none;
}

.about-footer a:hover {
  text-decoration: underline;
}

/* ---------- RESPONSIVT ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .about-hero__title { font-size: 34px; }
  .about-hero__lead { font-size: 17px; }
  .about-section { padding: 56px 0; }
  .about-section__title { font-size: 26px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-roles__grid { grid-template-columns: 1fr; }
  .about-footer__inner { flex-direction: column; gap: 10px; text-align: center; }
}
