/* VAERKTOEJER.CSS — Ressourcer & vejledninger */

/* ===== PAGE WRAPPER ===== */
.res-page {
  width: 100%;
  min-height: calc(100vh - 200px);
}

/* ===== SHARED SECTION STRUCTURE ===== */
.res-section {
  width: 100%;
  padding: 4rem 2.5rem;
  box-sizing: border-box;
}

.res-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.res-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.res-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0d1f12;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.res-section-lead {
  font-size: 1.05rem;
  color: #4b5563;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ===== INTRO SECTION ===== */
.res-section--intro {
  padding-top: 6rem;
  padding-bottom: 4rem;
  background:
    radial-gradient(ellipse 75% 55% at 60% 35%, rgba(15,122,64,0.05) 0%, transparent 70%),
    linear-gradient(160deg, #ffffff 0%, #f8fdfb 55%, #f3faf6 100%);
  border-bottom: 1px solid rgba(15,122,64,0.07);
  text-align: center;
}

.res-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15,122,64,0.08);
  color: #0f7a40;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid rgba(15,122,64,0.15);
  margin-bottom: 1.25rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.res-intro-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0d1f12;
  margin: 0 0 1rem 0;
  letter-spacing: -0.4px;
  line-height: 1.15;
}

.res-intro-lead {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== ONBOARDING CARDS ===== */
.res-section--onboarding {
  background: #ffffff;
  border-bottom: 1px solid rgba(15,122,64,0.06);
}

.res-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.res-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(15,122,64,0.1);
  border-radius: 18px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.03),
    0 6px 20px -4px rgba(15,122,64,0.08),
    0 16px 32px -8px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.res-card:hover {
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 10px 28px -4px rgba(15,122,64,0.14),
    0 22px 40px -10px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

.res-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid rgba(15,122,64,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f7a40;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.res-card__body {
  flex: 1;
}

.res-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.6rem 0;
}

.res-card__text {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.res-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.res-card__list li {
  font-size: 0.9rem;
  color: #374151;
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.res-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: #0f7a40;
  border-radius: 50%;
  opacity: 0.6;
}

.res-card__cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  background: linear-gradient(135deg, #0f7a40 0%, #138f4a 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px -2px rgba(15,122,64,0.3);
  margin-top: auto;
}

.res-card__cta:hover {
  background: linear-gradient(135deg, #0c6b37 0%, #117a41 100%);
  box-shadow: 0 4px 14px -4px rgba(15,122,64,0.4);
  transform: translateY(-1px);
}

.res-card__cta--outline {
  background: transparent;
  color: #0f7a40;
  border: 1.5px solid rgba(15,122,64,0.3);
  box-shadow: none;
}

.res-card__cta--outline:hover {
  background: rgba(15,122,64,0.06);
  border-color: rgba(15,122,64,0.5);
  box-shadow: none;
  transform: translateY(-1px);
}

/* ===== GUIDE LINK PÅ KORT ===== */
.res-card__guide-link {
  display: block;
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #0f7a40;
  text-decoration: none;
  font-weight: 500;
}

.res-card__guide-link:hover {
  text-decoration: underline;
}

/* ===== GUIDE SEKTION ===== */
.res-section--guide {
  background: #ffffff;
  border-bottom: 1px solid rgba(15,122,64,0.07);
}

.res-guide {
  background: #f8fbf9;
  border: 1px solid rgba(15,122,64,0.12);
  border-radius: 0.75rem;
  padding: 2rem 2rem 1.5rem;
  margin-bottom: 1.5rem;
  scroll-margin-top: 80px;
}

.res-guide:last-child {
  margin-bottom: 0;
}

.res-guide__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.res-guide__step-badge {
  display: inline-flex;
  align-items: center;
  background: #0f7a40;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 2rem;
  white-space: nowrap;
}

.res-guide__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a2e1a;
  margin: 0;
}

.res-guide__intro {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.res-guide__steps {
  margin: 0 0 1.25rem 0;
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.res-guide__steps li {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.55;
}

.res-guide__note {
  font-size: 0.875rem;
  color: #4b7c55;
  background: #f0fdf4;
  border: 1px solid rgba(15,122,64,0.18);
  border-radius: 0.4rem;
  padding: 0.65rem 0.9rem;
  margin-bottom: 1.25rem;
}

.res-guide__cta {
  display: inline-block;
  background: #0f7a40;
  color: #fff;
  border: none;
  border-radius: 0.4rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.res-guide__cta:hover {
  background: #0a5e30;
}

/* ===== EMAIL SECTION ===== */
.res-section--email {
  background:
    radial-gradient(ellipse 70% 50% at 20% 50%, rgba(15,122,64,0.04) 0%, transparent 70%),
    #f8fdfb;
  border-bottom: 1px solid rgba(15,122,64,0.07);
}

.res-email-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

.res-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 2.5rem;
}

.res-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.97rem;
  color: #1f2937;
  font-weight: 500;
}

.res-feature-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0f7a40;
  flex-shrink: 0;
  opacity: 0.75;
}

.res-clients-box {
  background: #ffffff;
  border: 1px solid rgba(15,122,64,0.1);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 12px -4px rgba(0,0,0,0.07);
  min-width: 200px;
}

.res-clients-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  margin: 0 0 0.85rem 0;
}

.res-clients-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.res-client-chip {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(15,122,64,0.07);
  border: 1px solid rgba(15,122,64,0.14);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f7a40;
}

/* ===== DOMAIN SECTION ===== */
.res-section--domain {
  background: #ffffff;
  border-bottom: 1px solid rgba(15,122,64,0.06);
}

.res-domain-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.res-domain-body {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
  margin: 0.5rem 0 1.5rem 0;
}

.res-domain-example {
  background: linear-gradient(135deg, #f0fdf4 0%, #e8fbf0 100%);
  border: 1px solid rgba(15,122,64,0.2);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.res-domain-example__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
}

.res-domain-example__code {
  font-family: 'SFMono-Regular', 'Consolas', 'Menlo', monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f7a40;
  background: none;
  padding: 0;
}

.res-domain-uses-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #374151;
  margin: 0 0 0.6rem 0;
}

.res-domain-uses {
  list-style: none;
  padding: 0;
  margin: 0;
}

.res-domain-uses li {
  font-size: 0.95rem;
  color: #374151;
  padding: 0.3rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.res-domain-uses li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: #0f7a40;
  border-radius: 50%;
  opacity: 0.55;
}

.res-domain-perks {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(15,122,64,0.04) 0%, transparent 70%),
    #f8fdfb;
  border: 1px solid rgba(15,122,64,0.1);
  border-radius: 18px;
  padding: 2rem 1.75rem;
}

.res-domain-perks__label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  margin: 0 0 1.25rem 0;
}

.res-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.97rem;
  color: #1f2937;
  font-weight: 500;
  border-bottom: 1px solid rgba(15,122,64,0.07);
}

.res-perk-item:last-child {
  border-bottom: none;
}

.res-perk-icon {
  flex-shrink: 0;
  color: #0f7a40;
  margin-top: 2px;
}

/* ===== SUPPORT SECTION ===== */
.res-section--support {
  background:
    radial-gradient(ellipse 65% 50% at 75% 55%, rgba(15,122,64,0.04) 0%, transparent 65%),
    #f8fdfb;
}

.res-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.res-support-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid rgba(15,122,64,0.09);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 12px -4px rgba(0,0,0,0.05);
}

.res-support-card:hover {
  border-color: rgba(15,122,64,0.28);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 20px -6px rgba(15,122,64,0.12);
  transform: translateY(-2px);
}

.res-support-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid rgba(15,122,64,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f7a40;
  flex-shrink: 0;
}

.res-support-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.2rem;
}

.res-support-card__desc {
  font-size: 0.83rem;
  color: #6b7280;
  line-height: 1.4;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .res-cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .res-email-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .res-clients-box {
    min-width: unset;
  }

  .res-clients-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .res-domain-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .res-support-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .res-section {
    padding: 3rem 1.25rem;
  }

  .res-section--intro {
    padding-top: 5.5rem;
  }

  .res-intro-title {
    font-size: 1.85rem;
  }

  .res-section-title {
    font-size: 1.55rem;
  }

  .res-feature-grid {
    grid-template-columns: 1fr;
  }

  .res-support-grid {
    grid-template-columns: 1fr;
  }

  .res-cards-grid {
    max-width: 100%;
  }
}

/* ===== SOFTWARE SECTION ===== */
.res-section--software {
  background: #0d1f14;
}

.res-software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.res-software-card {
  background: #132a1c;
  border: 1px solid rgba(15, 122, 64, 0.35);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s;
}

.res-software-card:hover {
  border-color: rgba(15, 122, 64, 0.7);
}

.res-software-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.res-software-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(15, 122, 64, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4caf50;
  flex-shrink: 0;
}

.res-software-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.2rem;
}

.res-software-card__version {
  font-size: 0.78rem;
  color: #4caf50;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.res-software-card__desc {
  font-size: 0.9rem;
  color: #cfead8;
  line-height: 1.6;
  margin: 0;
}

.res-software-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.res-software-card__meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #a8c9b4;
  line-height: 1.5;
}

.res-software-card__meta svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #4caf50;
}

.res-software-card__download {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #0f7a40;
  color: #fff;
  border-radius: 8px;
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  transition: background 0.2s;
  width: fit-content;
}

.res-software-card__download:hover {
  background: #0d6b37;
}

.res-software-card__size {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.75;
}

