/* MatchJourney — public marketing site
   Colors match the app's own design system (backend/CLAUDE.md / growth arbejdsdokument, 2 jul 2026) */

:root {
  --bg: #F2F2F7;
  --bg-alt: #FFFFFF;
  --card: #FFFFFF;
  --border: #E0E0E0;
  --text: #0A0A0A;
  --text-secondary: #666666;
  --blue: #1D49A7;
  --blue-dark: #123278;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-w: 1160px;
  --shadow: 0 12px 40px rgba(10, 20, 40, 0.10);
  --shadow-sm: 0 6px 18px rgba(10, 20, 40, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 242, 247, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 600;
}

.nav-links a { color: var(--text-secondary); transition: color .15s ease; }
.nav-links a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg picture, .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,10,20,0.15) 0%, rgba(6,10,20,0.35) 55%, rgba(6,10,20,0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 88px;
  padding-top: 220px;
  color: #fff;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfe0ff;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin: 0 0 20px;
}

.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(255,255,255,0.86);
  max-width: 560px;
  margin: 0 0 36px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-block-blue {
  background: var(--blue);
  color: #fff;
}

/* ---------- Sections ---------- */

section { padding: 108px 0; }

.section-alt { background: var(--bg-alt); }

.kicker {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

h2.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 20px;
  max-width: 640px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 560px;
  line-height: 1.6;
  margin: 0 0 0;
}

.section-head {
  margin-bottom: 64px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head.center .section-title,
.section-head.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Problem strip ---------- */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.problem-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}

.problem-card .num {
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 14px;
}

.problem-card h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  font-weight: 700;
}

.problem-card p {
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
  font-size: 0.98rem;
}

@media (max-width: 860px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ---------- Feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.feature-row:first-of-type { border-top: none; padding-top: 0; }

.feature-row.reverse .feature-media { order: 2; }
.feature-row.reverse .feature-text { order: 1; }

.feature-text h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  line-height: 1.2;
}

.feature-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 18px;
}

.feature-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text);
}

.feature-list li .dot {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}

.feature-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.feature-media img { width: 100%; height: 100%; object-fit: cover; }

.feature-media.photo { aspect-ratio: 4 / 3; }

.feature-media.phone {
  aspect-ratio: unset;
  background: transparent;
  box-shadow: none;
  display: flex;
  justify-content: center;
}

.feature-media.phone img {
  width: auto;
  max-width: 320px;
  height: auto;
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(10,20,40,0.22);
  border: 6px solid #0a0a0a;
}

@media (max-width: 860px) {
  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-row.reverse .feature-media,
  .feature-row.reverse .feature-text { order: unset; }
}

/* ---------- Social spotlight ---------- */

.social-spotlight {
  background: linear-gradient(180deg, #0d1b3d 0%, #0a1330 100%);
  color: #fff;
  border-radius: 32px;
  padding: 72px;
  position: relative;
  overflow: hidden;
}

.social-spotlight .wrap-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.social-spotlight .kicker { color: #8fb2ff; }

.social-spotlight h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.social-spotlight p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 28px;
}

.social-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.social-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
}

.social-stat .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.social-stat .value {
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 6px;
}

.social-media img {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

@media (max-width: 860px) {
  .social-spotlight { padding: 44px 24px; border-radius: 24px; }
  .social-spotlight .wrap-inner { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
}

.price-card.highlight {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
}

.price-card .plan-name {
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.price-card .plan-price {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-card .plan-price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-card .plan-trial {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 10px 0 26px;
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- Final CTA ---------- */

.final-cta {
  text-align: center;
  padding: 120px 0;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin: 0 auto 20px;
  line-height: 1.15;
}

.final-cta p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: 0 0 40px;
}

.final-cta .btn { padding: 18px 36px; font-size: 16px; }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg-alt);
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer .foot-logo {
  font-weight: 800;
  color: var(--blue);
}

footer .foot-links {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

footer .foot-copy {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ---------- Utility ---------- */

.center { text-align: center; }
