/* Schackappen — gemensam stylesheet för marknadssajten
   Designsystem: mörk bg (#2C2416), guldaccent (#C9A84C), cream-text (#f0d9b5)
   Typografi: Crimson Pro (serif, rubriker) + Inter (sans, brödtext) */

@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --bg: #2C2416;
  --bg-light: #3a3025;
  --bg-card: #352c20;
  --gold: #C9A84C;
  --gold-light: #e0c97a;
  --cream: #f0d9b5;
  --text: #d4c4a8;
  --text-dim: #8a7a60;
  --white: #fdfcf7;
  --danger: #c4736b;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--gold); }

/* ===== UTILITY ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-title {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 2.4em;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-sub {
  color: var(--text-dim);
  font-size: 1.05em;
  margin-bottom: 48px;
  max-width: 640px;
}
.gold { color: var(--gold); }
.cream { color: var(--cream); }
.divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
  max-width: 800px;
}
.eyebrow {
  font-size: 0.78em;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-block;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(44,36,22,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 14px 0;
}
nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.3em;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}
.nav-logo img { height: 32px; vertical-align: middle; margin-right: 8px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88em;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* Language toggle (SE/EN flags) */
.lang-toggle {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding-left: 8px;
  margin-left: 4px;
  border-left: 1px solid rgba(201,168,76,0.2);
}
.lang-toggle a {
  font-size: 1.05em;
  opacity: 0.4;
  transition: opacity 0.15s;
  text-decoration: none;
  line-height: 1;
  padding: 4px;
}
.lang-toggle a.active, .lang-toggle a:hover { opacity: 1; }
.mobile-nav .lang-toggle {
  margin-top: 16px;
  padding-left: 0;
  margin-left: 0;
  border-left: none;
  gap: 18px;
}
.mobile-nav .lang-toggle a { font-size: 1.6em; padding: 6px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--gold);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 0.88em;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--gold-light); transform: translateY(-1px); color: var(--bg); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: rgba(201,168,76,0.1); color: var(--gold); transform: none; }
.btn-large { padding: 16px 36px; font-size: 1em; border-radius: 6px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 90px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '♞';
  position: absolute;
  font-size: 30em;
  color: rgba(201,168,76,0.05);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 1;
}
.hero-content { position: relative; z-index: 1; width: 100%; }
.hero h1 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 3.8em;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 18px;
  line-height: 1.1;
}
.hero .tagline {
  font-size: 1.1em;
  color: var(--cream);
  margin-bottom: 36px;
  letter-spacing: 0.4px;
  opacity: 0.92;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero .sub {
  font-family: 'Crimson Pro', Georgia, serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.2em;
  margin-bottom: 32px;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.badge {
  background: var(--bg-card);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.78em;
  color: var(--text-dim);
}

/* ===== PAGE HERO (smaller, for subpages) ===== */
.page-hero {
  padding: 130px 0 60px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 2.8em;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 18px;
  line-height: 1.15;
}
.page-hero .lead {
  font-size: 1.15em;
  color: var(--text);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ===== CARDS GENERIC ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid rgba(201,168,76,0.12);
  border-top: 3px solid var(--gold);
  border-radius: 6px;
  padding: 32px 26px;
}
.card .icon {
  font-size: 2em;
  margin-bottom: 14px;
  display: block;
}
.card.center-text { text-align: center; }
.card.center-text .icon { text-align: center; }
.card h3 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.3em;
  color: var(--cream);
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.card p { font-size: 0.95em; color: var(--text); line-height: 1.6; margin-bottom: 8px; }
.card cite { font-size: 0.8em; color: var(--text-dim); font-style: italic; display: block; margin-top: 8px; }

/* Feature card — lighter than .card */
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.feature-card .feat-icon { font-size: 2.2em; margin-bottom: 12px; display: block; }
.feature-card h3 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.1em;
  color: var(--cream);
  margin-bottom: 8px;
  font-weight: 600;
}
.feature-card p { font-size: 0.85em; color: var(--text-dim); line-height: 1.5; }

/* ===== SECTIONS WITH ALT BG ===== */
.section-alt { background: var(--bg-light); }

/* ===== TWO-COLUMN SPLIT ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split blockquote, .split .quote {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.5em;
  font-style: italic;
  color: var(--cream);
  line-height: 1.4;
  margin-bottom: 16px;
}
.split .highlight {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.3em;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 18px;
}
.split .fact, .split p {
  font-size: 0.98em;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}
.split img.shot {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(201,168,76,0.15);
}

/* ===== AUDIENCE CHOICE (homepage) ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.audience-card {
  background: var(--bg-card);
  border: 2px solid rgba(201,168,76,0.15);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.audience-card:hover { transform: translateY(-4px); border-color: var(--gold); color: var(--text); }
.audience-card h3 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.6em;
  color: var(--cream);
  margin: 16px 0 12px;
  font-weight: 700;
}
.audience-card p {
  font-size: 0.92em;
  color: var(--text-dim);
  margin-bottom: 22px;
  line-height: 1.55;
  flex-grow: 1;
}
.audience-card .audience-icon {
  font-size: 2.6em;
  margin-bottom: 4px;
}
.audience-card .audience-cta {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92em;
  letter-spacing: 0.04em;
}

/* ===== COMPARISON TABLE ===== */
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -24px;
  padding: 0 24px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92em;
}
.compare-table th {
  padding: 14px 16px;
  text-align: left;
  color: var(--gold);
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
  font-size: 0.95em;
}
.compare-table th:nth-child(2) { color: var(--white); }
.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  color: var(--text);
}
.compare-table tr:hover td { background: rgba(201,168,76,0.04); }
.compare-table td:nth-child(2) { color: var(--gold); font-weight: 600; }
.compare-table .row-label { color: var(--cream); font-weight: 500; }

/* ===== PRICING ===== */
.pricing { text-align: center; }
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.price-box {
  background: var(--bg-card);
  border: 2px solid rgba(201,168,76,0.18);
  border-radius: 12px;
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.price-box.featured { border-color: var(--gold); box-shadow: 0 0 32px rgba(201,168,76,0.1); }
.price-box .price-label {
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.price-box .price-for {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.3em;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 16px;
  min-height: 2.6em;
}
.price-box .amount {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 2.6em;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 22px;
}
.price-box .amount small { font-size: 0.42em; color: var(--text-dim); font-weight: 400; letter-spacing: 0.5px; }
.price-box .includes {
  color: var(--text);
  font-size: 0.92em;
  line-height: 2;
  margin-bottom: 24px;
  flex-grow: 1;
  list-style: none;
}
.price-box .includes li::before { content: '✓ '; color: var(--gold); font-weight: 700; }

/* Trial CTA */
.trial-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 820px;
  margin: 28px auto 0;
  padding: 22px 32px;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 12px;
  text-decoration: none;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 24px rgba(201,168,76,0.12);
}
.trial-box:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(201,168,76,0.25); }
.trial-text { display: flex; flex-direction: column; gap: 4px; }
.trial-label {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.4em;
  font-weight: 700;
  color: var(--cream);
}
.trial-sub { color: var(--text-dim); font-size: 0.88em; }
.trial-cta {
  background: var(--gold);
  color: var(--bg);
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== FAQ ACCORDION ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.faq-item summary {
  cursor: pointer;
  padding: 22px 0;
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.18em;
  color: var(--cream);
  list-style: none;
  position: relative;
  padding-right: 32px;
  transition: color 0.15s;
  font-weight: 600;
}
.faq-item summary:hover { color: var(--gold); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4em;
  color: var(--gold);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body {
  padding: 0 0 22px;
  color: var(--text);
  font-size: 0.98em;
  line-height: 1.7;
}
.faq-item .faq-body p { margin-bottom: 12px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ===== TRUST BAR ===== */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  margin-top: 48px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85em;
  color: var(--text-dim);
}
.trust-item::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

/* ===== QUOTE / TESTIMONIAL ===== */
.testimonial {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.45em;
  font-style: italic;
  color: var(--cream);
  line-height: 1.45;
  margin-bottom: 18px;
}
.testimonial cite { color: var(--text-dim); font-size: 0.92em; font-style: normal; }

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 48px 0 40px;
  color: var(--text-dim);
  font-size: 0.84em;
  border-top: 1px solid rgba(201,168,76,0.1);
  margin-top: 40px;
}
footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}
footer .footer-links a { color: var(--text-dim); text-decoration: none; transition: color 0.15s; }
footer .footer-links a:hover { color: var(--gold); }
footer .footer-meta {
  margin-top: 20px;
  font-size: 0.78em;
  color: #6a5a44;
  line-height: 1.7;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
footer .footer-meta a { color: #6a5a44; }
footer .footer-meta a:hover { color: var(--gold); }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,36,22,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--cream);
  text-decoration: none;
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.35em;
  font-weight: 600;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .btn { font-family: 'Inter', sans-serif; font-size: 1em; margin-top: 8px; }

/* ===== STEPS (3-step "Hur kommer du igång") ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(201,168,76,0.12);
  border-top: 3px solid var(--gold);
  border-radius: 6px;
  padding: 36px 24px 28px;
  text-align: center;
  position: relative;
}
.step-card .step-num {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1em;
}
.step-card .icon { font-size: 2em; margin-bottom: 12px; display: block; }
.step-card h3 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.2em;
  color: var(--cream);
  margin-bottom: 8px;
  font-weight: 600;
}
.step-card p { font-size: 0.92em; color: var(--text-dim); line-height: 1.55; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links { display: none; }
  .container { padding: 0 18px; }
  .section, .section-tight { padding: 56px 0; }
  .section-title { font-size: 1.7em; text-align: center; }
  .section-sub { font-size: 0.92em; text-align: center; max-width: 100%; margin: 0 auto 32px; }

  .hero { min-height: auto; padding: 100px 0 50px; }
  .hero h1 { font-size: 2.2em; }
  .hero .sub { font-size: 1.05em; }
  .hero .tagline { font-size: 0.96em; }
  .hero-content img { width: 110px !important; margin-bottom: 16px !important; }
  .hero-buttons { gap: 10px; }
  .hero-buttons .btn-large { padding: 12px 22px; font-size: 0.92em; }
  .hero-badges { gap: 6px; margin-top: 26px; }
  .badge { padding: 5px 10px; font-size: 0.72em; }

  .page-hero { padding: 110px 0 40px; }
  .page-hero h1 { font-size: 1.8em; }
  .page-hero .lead { font-size: 1em; }

  .card-grid, .card-grid.cols-2, .card-grid.cols-4, .audience-grid, .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card { padding: 22px 18px; }
  .audience-card { padding: 26px 20px; }
  .step-card { padding: 28px 18px 22px; }

  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse > :first-child { order: 0; }
  .split blockquote, .split .quote { font-size: 1.2em; text-align: center; }
  .split p, .split .fact, .split .highlight { text-align: center; }

  .compare-table { font-size: 0.78em; min-width: 460px; }
  .compare-table th, .compare-table td { padding: 9px 8px; white-space: nowrap; }

  .price-grid { grid-template-columns: 1fr; gap: 14px; max-width: 460px; }
  .price-box { padding: 28px 22px; }
  .price-box .amount { font-size: 2.1em; }

  .trial-box { flex-direction: column; text-align: center; padding: 22px; gap: 14px; }
  .trial-text { align-items: center; }
  .trial-label { font-size: 1.2em; }
  .trial-cta { width: 100%; text-align: center; padding: 12px; }

  .trust-bar { gap: 14px; padding: 20px 0; }
  .trust-item { font-size: 0.8em; }

  .faq-item summary { font-size: 1.05em; padding: 18px 32px 18px 0; }
  .faq-item .faq-body { font-size: 0.92em; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 1.85em; }
  .section-title { font-size: 1.5em; }
}
