/* =========================================================
   Startup Selection Switzerland – Mockup CSS (v3 – UX improved)
   ========================================================= */

:root {
  --color-main:    #000000;
  --color-main2:   #2A62A0;
  --color-light:   #ffffff;
  --color-grey4:   #c3c3c3;
  --color-grey5:   #e7e7e7;
  --color-grey6:   #f4f4f4;
  --color-green:   #1a7a4a;
  --font-main: "Archivo", "Helvetica", "Arial", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; line-height: 1.15; }
body { font-family: var(--font-main); font-weight: 300; color: var(--color-main); background-color: var(--color-light); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: inline-block; }
p { line-height: 1.5em; }
strong { font-weight: 600; }
h1, h2, h3 { color: var(--color-main); letter-spacing: -0.02em; }
ul { list-style: none; }

/* ---- Containers ---- */
.container        { width: 100%; max-width: 960px;  margin: 0 auto; padding: 0 1.6rem; }
.container.is-large { max-width: 1200px; }

/* =========================================================
   HEADER
   ========================================================= */
.page-header { background-color: #000; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.logo-link { display: inline-flex; align-items: center; }
.logo-main { height: 32px; width: auto; }

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

.nav-hor li a {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.nav-hor li a:hover { opacity: 0.65; }

.lang-switch select {
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}
.lang-switch select option { background: #111; color: #fff; }

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-border-line {
  position: absolute;
  top: 80px;
  left: 0; right: 0;
  height: 1px;
  background-color: #000;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 0 0 72%;
  max-width: 72%;
  padding-top: 4rem;
  padding-bottom: 3.5rem;
}

.hero-spacer { flex: 0 0 28%; }

/* FIX #1 – H1 picks up the CTA thread */
.hero-title {
  display: inline-block;
  font-size: 2.625rem;
  font-weight: 400;
  line-height: 1;
  color: #000;
  background-color: #fff;
  padding-right: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

/* FIX #4 – Intent strip: three user paths */
.intent-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.intent-label {
  font-size: 0.8125rem;
  font-weight: 300;
  color: #555;
  letter-spacing: 0.04em;
  margin-right: 0.25rem;
}

.intent-btn {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #000;
  background: transparent;
  border: 1px solid #c3c3c3;
  padding: 0.35rem 0.9rem;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  border-radius: 0;
}

.intent-btn:hover {
  border-color: #000;
  background: #f4f4f4;
}

.intent-btn.is-active {
  background: #000;
  border-color: #000;
  color: #fff;
  font-weight: 400;
}

.intent-btn.is-locked {
  color: #aaa;
  border-color: #ddd;
  background: #f8f8f8;
  cursor: not-allowed;
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.intent-btn.is-locked:hover {
  background: #f8f8f8;
  border-color: #ddd;
}

.lock-badge {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: #ddd;
  color: #888;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  vertical-align: middle;
}

/* FIX #2 – Orientation hint + multi-selection note */
.hero-hint {
  font-size: 0.8125rem;
  font-weight: 300;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hint-link {
  color: var(--color-main2);
  font-weight: 400;
  margin-left: 0.75rem;
  white-space: nowrap;
}
.hint-link:hover { text-decoration: underline; }

/* FIX #10 – Free-of-charge signal */
.hero-free {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 300;
  color: #333;
}

.free-badge {
  display: inline-block;
  background-color: var(--color-green);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  line-height: 1.4;
}

/* =========================================================
   TRUST BAR  (FIX #8)
   ========================================================= */
.trust-bar {
  background-color: var(--color-grey6);
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
  padding: 1.4rem 0;
}

.trust-list {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 3rem;
}

.trust-item:first-child { padding-left: 0; }

.trust-number {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.trust-desc {
  font-size: 0.6875rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #555;
  margin-top: 0.15rem;
}

.trust-divider {
  width: 1px;
  height: 2.5rem;
  background-color: #c3c3c3;
  flex-shrink: 0;
}

/* =========================================================
   CATEGORIES SECTION
   ========================================================= */
.categories-section {
  background-color: #fff;
  padding-bottom: 6rem;
}

.categories-divider {
  position: relative;
  border-top: 1px solid #000;
  text-align: center;
  margin-bottom: 3rem;
  margin-top: 0.5rem;
}

.categories-title {
  display: inline-block;
  background-color: #fff;
  padding: 0 2.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  top: -0.72em;
}

/* Grid: primary card spans full width, rest are 3-col */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

/* FIX #6 – Primary card spans all 3 columns */
.category-card.is-primary {
  grid-column: 1 / -1;
  background-color: #e0e0e0;
}

/* ---- Category Card ---- */
.category-card {
  display: block;
  background-color: var(--color-grey5);
  color: #000;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: scale(1.018);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.card-inner {
  padding: 1.6rem 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 200px;
}

/* FIX #9 – Icon + meta row */
.card-top {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex: 1;
}

.card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: #000;
  margin-top: 0.15rem;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

/* Primary card: larger icon */
.is-primary .card-icon {
  width: 44px;
  height: 44px;
}

.card-meta {
  flex: 1;
}

.card-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Primary card: larger title */
.is-primary .card-title {
  font-size: 2rem;
  font-weight: 700;
}

.card-arrow {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 4px;
  font-weight: 300;
}

/* FIX #7 – Subtitles rewritten as plain sentences */
.card-tags p {
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.6;
  color: #444;
}

/* FIX #3 – Secondary action label */
.card-action {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-main2);
  border-top: 1px solid #c3c3c3;
  padding-top: 0.9rem;
  text-transform: uppercase;
}

.category-card:hover .card-action {
  text-decoration: underline;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { padding-top: 3rem; }

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.footer-about {
  flex: 0 0 calc(33.333% - 0.8rem);
  max-width: calc(33.333% - 0.8rem);
}

.footer-brand { font-size: 0.875rem; font-weight: 600; }

.footer-tagline {
  font-size: 0.8125rem;
  font-weight: 300;
  margin-top: 0.8rem;
  line-height: 1.6;
}

.footer-contact-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 2rem;
}

.footer-contact-email { font-size: 0.8125rem; margin-top: 0.5rem; }
.footer-contact-email a { color: var(--color-main2); }
.footer-contact-email a:hover { text-decoration: underline; }

.footer-links {
  flex: 0 0 calc(66.666% - 0.8rem);
  max-width: calc(66.666% - 0.8rem);
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 4rem;
  font-size: 0.8125rem;
}

.nav-vert li { margin-bottom: 0.55rem; line-height: 1.4; }
.nav-vert li.nav-title { font-weight: 600; margin-bottom: 0.75rem; }
.nav-vert li.nav-title a { font-weight: 600; pointer-events: none; cursor: default; }
.nav-vert a { color: #000; font-weight: 300; transition: opacity 0.2s; }
.nav-vert a:hover { opacity: 0.55; }

.footer-divider {
  border: none;
  border-top: 1px solid var(--color-grey4);
  margin-top: 1.5rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer-copyright p { font-size: 0.8125rem; font-weight: 300; }

.footer-partner-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}

.partner-logo {
  max-width: 120px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card.is-primary { grid-column: 1 / -1; }
  .hero-content { flex: 0 0 100%; max-width: 100%; }
  .hero-spacer { display: none; }
  .trust-item { padding: 0 1.5rem; }
}

@media (max-width: 768px) {
  .footer-about, .footer-links { flex: 0 0 100%; max-width: 100%; }
  .footer-links { justify-content: flex-start; gap: 2.5rem; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  html { font-size: 14px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .nav-hor { gap: 1.2rem; flex-wrap: wrap; }
  .categories-grid { grid-template-columns: 1fr; }
  .category-card.is-primary { grid-column: 1; }
  .hero-border-line { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-partner-logos { justify-content: flex-start; gap: 1rem; }
  .partner-logo { max-width: 80px; }
  .trust-list { gap: 0.5rem; }
  .trust-item { padding: 0.5rem 1rem; }
  .trust-divider { display: none; }
}
