/* ==========================================================================
   Trajvik – Landing Page Stylesheet (landing.css)
   Moderne, responsivt og konverterende SaaS-design
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-dark: #1e40af;
  --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #7c3aed 100%);
  --cyan-accent: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.4);
  --dark-slate: #0f172a;
  --mid-slate: #1e293b;
  --light-slate: #334155;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --border-subtle: #e2e8f0;
  --border-focus: #3b82f6;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-page);
}

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Navigation Bar (Sticky)
   ========================================================================== */
.landing-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.navbar-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-glow-bg {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.15), rgba(37, 99, 235, 0.08) 50%, transparent 80%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.badge-sparkle {
  color: #2563eb;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 2.25rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -5px rgba(37, 99, 235, 0.5);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #475569;
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid #e2e8f0;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Hero Interactive Mockup
   ========================================================================== */
.hero-mockup-wrapper {
  margin-top: 3.5rem;
  perspective: 1000px;
}

.mockup-window {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  max-width: 1080px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.mockup-titlebar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.window-url-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.25rem 1rem;
  font-size: 0.78rem;
  font-family: monospace;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lock-icon {
  color: #10b981;
}

.window-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Mockup Canvas Area */
.mockup-body {
  padding: 1.5rem 1.75rem 2rem;
  background: #ffffff;
}

.mockup-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.mockup-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mockup-logo-pill {
  width: 32px;
  height: 32px;
  background: var(--primary-gradient);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}

.mockup-project-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.mockup-header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mockup-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
}

.mockup-pill.primary {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* Timeline Track Mockup */
.mockup-timeline-track-wrap {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2.5rem 1.5rem 3rem;
  margin-bottom: 1rem;
  overflow-x: auto;
}

.mockup-ruler {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #cbd5e1;
  padding-bottom: 0.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
}

.ruler-year {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.mockup-line-container {
  position: relative;
  height: 120px;
}

.mockup-center-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: #cbd5e1;
  transform: translateY(-50%);
  border-radius: 2px;
}

.mockup-node-item {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mockup-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.15);
  z-index: 2;
}

.mockup-stem {
  width: 2px;
  height: 32px;
  background: currentColor;
  opacity: 0.7;
}

.mockup-card-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.mockup-card-box small {
  display: block;
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 400;
}

/* Node Positions & Tiers */
.node-1 { left: 10%; color: #2563eb; }
.node-1 .mockup-dot { background: #2563eb; }
.node-1 { flex-direction: column-reverse; margin-top: -65px; }

.node-2 { left: 38%; color: #7c3aed; }
.node-2 .mockup-dot { background: #7c3aed; }
.node-2 { margin-top: 65px; }

.node-3 { left: 66%; color: #10b981; }
.node-3 .mockup-dot { background: #10b981; }
.node-3 { flex-direction: column-reverse; margin-top: -65px; }

.node-4 { left: 90%; color: #f59e0b; }
.node-4 .mockup-dot { background: #f59e0b; }
.node-4 { margin-top: 65px; }

/* Sub-card snippet */
.mockup-sublevel-card {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #475569;
}

.sublevel-title {
  font-weight: 700;
  color: #0f172a;
}

.sublevel-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* ==========================================================================
   Section: Problem vs. Løsning
   ========================================================================== */
.comparison-section {
  padding: 5rem 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 3rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.comparison-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.card-bad {
  border-top: 4px solid #ef4444;
}

.card-good {
  border-top: 4px solid #10b981;
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.comp-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.card-bad .comp-icon { background: #fee2e2; color: #ef4444; }
.card-good .comp-icon { background: #d1fae5; color: #10b981; }

.comp-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
}

.bullet-cross { color: #ef4444; font-weight: 800; }
.bullet-check { color: #10b981; font-weight: 800; }

/* ==========================================================================
   Section: De 5 Hierarkiske Niveauer
   ========================================================================== */
.hierarchy-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.hierarchy-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.level-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  position: relative;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.level-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.level-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #2563eb;
  background: #eff6ff;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.level-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.level-scope {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan-accent);
  margin-bottom: 0.65rem;
}

.level-desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.5;
}

/* ==========================================================================
   Section: Funktioner Grid
   ========================================================================== */
.features-section {
  padding: 5rem 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
}

.features-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.feature-box-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-box h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

/* ==========================================================================
   Section: Hvem Bruger Trajvik (Use Cases)
   ========================================================================== */
.usecases-section {
  padding: 5rem 0;
  background: #ffffff;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.usecase-card {
  padding: 1.75rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.usecase-icon {
  font-size: 2rem;
  margin-bottom: 0.85rem;
}

.usecase-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.usecase-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
}

/* ==========================================================================
   Section: Priser (100% Gratis)
   ========================================================================== */
.pricing-section {
  padding: 5rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.05), transparent 70%);
}

.pricing-card-wrap {
  max-width: 640px;
  margin: 3rem auto 0;
  background: #ffffff;
  border: 2px solid #2563eb;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
}

.pricing-card-wrap h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.pricing-card-wrap .price-tag {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin: 1.25rem 0;
}

.price-sub {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 2rem;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
  max-width: 440px;
  margin: 0 auto 2.5rem;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: #334155;
}

/* ==========================================================================
   Section: FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
}

.faq-container-narrow {
  max-width: 820px;
  margin: 3rem auto 0;
}

.faq-accordion-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 1.25rem 1.5rem;
  transition: all 0.2s ease;
}

.faq-accordion-item:hover {
  border-color: #cbd5e1;
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: 1rem;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.faq-chevron {
  font-size: 1.1rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

details[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-content {
  padding-top: 1rem;
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
}

/* ==========================================================================
   Section: Final Call to Action
   ========================================================================== */
.final-cta-section {
  padding: 6rem 0;
  background: var(--dark-slate);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.final-cta-sub {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hierarchy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .hierarchy-grid {
    grid-template-columns: 1fr;
  }
  .mockup-timeline-track-wrap {
    padding: 2rem 1rem 2.5rem;
  }
}

