/* ── For Virksomheder Page ────────────────────────────── */

/* Buttons */
.btn-outline {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

/* Hero */
.fv-hero {
  padding: 72px 0 64px;
  text-align: center;
  background: #d1c4e9;
  border-radius: 32px;
  margin-top: -1px;
}

.fv-hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.fv-hero-sub {
  font-size: 1.1rem;
  color: #4a4a4a;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.fv-hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Problem Section — Quote & Contrast */
.fv-problem {
  padding: 80px 0;
  text-align: center;
  background: var(--surface);
}

.fv-problem-quote {
  margin: 0 auto 48px;
  padding: 0;
  border: none;
  max-width: 600px;
}

.fv-problem-quote p {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-style: italic;
}

.fv-problem-quote p::before {
  content: "\201C";
  color: var(--primary);
  font-size: 2.4rem;
  line-height: 0;
  vertical-align: -0.15em;
  margin-right: 4px;
}

.fv-problem-quote p::after {
  content: "\201D";
  color: var(--primary);
  font-size: 2.4rem;
  line-height: 0;
  vertical-align: -0.15em;
  margin-left: 4px;
}

.fv-problem-contrast {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.fv-problem-before,
.fv-problem-after {
  flex: 1;
  padding: 24px;
  border-radius: var(--radius);
  text-align: left;
}

.fv-problem-before {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.fv-problem-after {
  background: var(--primary-light);
  border: 1px solid var(--primary);
}

.fv-problem-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.fv-problem-before .fv-problem-label {
  color: #b91c1c;
}

.fv-problem-after .fv-problem-label {
  color: var(--primary-dark);
}

.fv-problem-before p,
.fv-problem-after p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  color: var(--text);
}

.fv-problem-arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.fv-problem-footer {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Features Grid */
.fv-features {
  padding: 80px 0;
  background: var(--surface);
}

.fv-features > .container > h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 48px;
  color: var(--text);
}

.fv-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.fv-feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.fv-feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.fv-feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.fv-feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.fv-feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Product Flow */
.fv-flow {
  padding: 80px 0;
}

.fv-flow > .container > h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 56px;
  color: var(--text);
}

.fv-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* Connecting line */
.fv-flow-steps::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--border) 0,
    var(--border) 8px,
    transparent 8px,
    transparent 16px
  );
  transform: translateX(-50%);
  z-index: 0;
}

.fv-flow-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.fv-flow-step--reverse {
  direction: rtl;
}

.fv-flow-step--reverse > * {
  direction: ltr;
}

.fv-flow-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 12px;
}

.fv-flow-step-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.fv-flow-step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  max-width: 340px;
}

.fv-flow-step-visual {
  display: flex;
  justify-content: flex-end;
}

.fv-flow-step--reverse .fv-flow-step-visual {
  justify-content: flex-start;
}

.fv-flow-step-visual--paired {
  align-items: flex-end;
  gap: 16px;
}

.fv-flow-step-visual--paired .showcase-phone--md {
  width: 140px;
  margin-bottom: 12px;
}

/* Browser mockup */
.showcase-browser {
  width: 280px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.showcase-browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.showcase-browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.showcase-browser img {
  width: 100%;
  display: block;
}

.showcase-phone--md {
  flex: none;
  width: 220px;
  border-radius: 24px;
  border: 5px solid #1a1a1a;
  background: #1a1a1a;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.showcase-phone--md img {
  width: 100%;
  display: block;
}

/* Keep old sm class for backward compat */
.showcase-phone--sm {
  flex: none;
  width: 160px;
  border-radius: 20px;
  border: 4px solid #1a1a1a;
  background: #1a1a1a;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.showcase-phone--sm img {
  width: 100%;
  display: block;
}

/* Use Cases */
.fv-usecases {
  padding: 80px 0;
  background: var(--surface);
}

.fv-usecases > .container > h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 48px;
  color: var(--text);
}

.fv-usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.fv-usecase-card {
  text-align: center;
  padding: 28px 20px;
}

.fv-usecase-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.fv-usecase-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.fv-usecase-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Premium / Internal Section */
.fv-premium {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.fv-premium > .container > h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 36px;
  color: var(--text);
}

.fv-premium-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.fv-premium-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Final CTA */
.fv-cta {
  padding: 80px 0 96px;
  text-align: center;
  background: linear-gradient(0deg, var(--primary-light) 0%, var(--bg) 100%);
}

.fv-cta h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 32px;
  color: var(--text);
}

.fv-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .fv-flow-step,
  .fv-flow-step--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    direction: ltr;
  }

  .fv-flow-steps::before {
    display: none;
  }

  .fv-flow-step-visual {
    justify-content: center;
  }

  .showcase-phone--md {
    width: 180px;
  }

  .fv-flow-step-visual--paired {
    flex-direction: column;
    align-items: center;
  }

  .fv-flow-step-visual--paired .showcase-browser {
    width: 100%;
    max-width: 300px;
  }

  .fv-flow-step-visual--paired .showcase-phone--md {
    width: 140px;
    margin-bottom: 0;
  }
}

@media (max-width: 600px) {
  .fv-hero { padding: 64px 0 48px; }
  .fv-hero h1 { font-size: 1.8rem; }
  .fv-problem { padding: 56px 0; }
  .fv-problem-quote p { font-size: 1.35rem; }
  .fv-problem-contrast { flex-direction: column; gap: 16px; }
  .fv-problem-arrow { justify-content: center; transform: rotate(90deg); }
  .fv-features { padding: 56px 0; }
  .fv-flow { padding: 56px 0; }
  .fv-flow > .container > h2 { margin-bottom: 36px; }
  .fv-usecases { padding: 56px 0; }
  .fv-premium { padding: 48px 0; }
  .fv-cta { padding: 56px 0 72px; }
  .fv-cta h2 { font-size: 1.3rem; }
}
