/* StudieSync · Landing Page (Variant B: Produktfokuseret)
   100 % v5 app-design tokens, typografi, knapper, kort og layout.
   CSP self only: ingen eksterne fonte, scripts eller billeder. */

/* ---------- Container ---------- */
.landing-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  min-height: 0;
  padding: 0 16px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink);
  font: 550 13.5px var(--font);
  cursor: pointer;
  box-shadow: var(--sh1);
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: all 0.12s ease;
}

.btn:hover {
  background: var(--hover);
  border-color: #D5D8DE;
}

.btn.pri {
  background: linear-gradient(180deg, #2B7350, #1F5C3E);
  border-color: #1A4F35;
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 #ffffff26, var(--sh1);
}

.btn.pri:hover {
  background: linear-gradient(180deg, #256646, #1A4F35);
  border-color: #16432C;
}

/* Google-knap (v5-styled) */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 42px;
  padding: 0 18px;
  border-radius: 9px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--ink);
  font: 600 14px var(--font);
  text-decoration: none;
  box-shadow: var(--sh2);
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-google:hover {
  background: #FAFAFB;
  border-color: #D5D8DE;
  box-shadow: var(--sh3);
  transform: translateY(-1px);
}

.btn-google:active {
  transform: translateY(0);
}

.g-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- Hero (Variant B) ---------- */
.hero-b {
  padding: 40px 0 60px;
  text-align: center;
}

.hero-b-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #E8F3EC;
  border: 1px solid #C8E3D2;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-b-badge .d {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22A06B;
  box-shadow: 0 0 0 3px #22a06b22;
  flex: none;
}

.hero-b h1 {
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 auto 16px;
  max-width: 860px;
  color: var(--ink);
}

.hero-b p.lede {
  font-size: 17.5px;
  line-height: 1.5;
  color: var(--mute);
  max-width: 680px;
  margin: 0 auto 28px;
  letter-spacing: -0.01em;
}

.hero-b-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-b-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--mute);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-b-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-b-trust svg.i {
  color: var(--accent);
}

/* Skærmvælger-faner i Hero */
.hero-tabs-wrap {
  display: inline-flex;
  padding: 4px;
  border-radius: 12px;
  background: #EAEAED;
  gap: 4px;
  margin-bottom: 20px;
}

.hero-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 16px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  font: 600 13px var(--font);
  color: var(--mute);
  cursor: pointer;
  transition: all 0.15s ease;
}

.hero-tab-btn:hover {
  color: var(--ink);
}

.hero-tab-btn.active {
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: var(--sh1);
}

/* Hero Stage (Desktop vindue + Mobil overlay) */
.hero-stage {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.mockup-window {
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--sh3);
  overflow: hidden;
  text-align: left;
  transition: opacity 0.2s ease;
}

.mockup-window-header {
  height: 36px;
  background: #F0F1F3;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
  box-sizing: border-box;
}

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

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #FF5F56; }
.mockup-dot.yellow { background: #FFBD2E; }
.mockup-dot.green { background: #27C93F; }

/* Falsk adresselinje uden domænenavn */
.mockup-address-bar {
  flex: 1;
  max-width: 320px;
  margin: 0 auto;
  height: 22px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--mute);
  padding: 0 8px;
  font-family: var(--font);
}

.mockup-address-bar svg.i {
  color: var(--mute);
}

.mockup-window-body {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.mockup-window-body img {
  display: block;
  width: 100%;
  height: auto;
}

/* Mobil-ramme overlay i Hero */
.hero-phone-overlay {
  position: absolute;
  right: -24px;
  bottom: -32px;
  width: 250px;
  z-index: 20;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
  transition: transform 0.2s ease;
}

.hero-phone-overlay:hover {
  transform: translateY(-4px);
}

.phone-mockup {
  border-radius: 36px;
  background: #111318;
  padding: 8px;
  border: 3px solid #2A2D35;
  box-sizing: border-box;
  position: relative;
}

.phone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 16px;
  background: #111318;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg);
}

.phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 3 Søjler (Pillars) ---------- */
.pillars-section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #FFFFFF;
}

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

.pillar-card {
  padding: 24px 20px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-sizing: border-box;
}

.pillar-card .pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #E8F3EC;
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.pillar-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.pillar-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--mute);
  margin: 0;
}

/* ---------- Funktionssektioner med app-skærmbilleder ---------- */
.feature-section {
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.feature-row.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.feature-content h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 750;
  margin: 0;
  color: var(--ink);
}

.feature-content p.desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink2);
  margin: 0;
}

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

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink2);
}

.feature-bullets li svg.i {
  color: var(--accent);
  margin-top: 2px;
  flex: none;
}

.feature-bullets li strong {
  color: var(--ink);
}

.feature-media .mockup-window {
  box-shadow: var(--sh2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-media .mockup-window:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh3);
}

/* ---------- Sikkerhed og datagrænser (AGENTS.md) ---------- */
.trust-section {
  padding: 60px 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}

.trust-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.trust-header h2 {
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  font-weight: 750;
  color: var(--ink);
}

.trust-header p {
  color: var(--mute);
  font-size: 15px;
  margin: 0;
}

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

.trust-card {
  padding: 24px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-sizing: border-box;
}

.trust-card .trust-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--accent);
  margin-bottom: 14px;
}

.trust-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.trust-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--mute);
  margin: 0;
}

/* ---------- Venteliste for andre universiteter ---------- */
.waitlist-section {
  padding: 56px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.waitlist-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 32px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  text-align: center;
  box-sizing: border-box;
}

.waitlist-card .waitlist-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 12px;
}

.waitlist-card h2 {
  font-size: 26px;
  letter-spacing: -0.025em;
  font-weight: 750;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.25;
}

.waitlist-card p.desc {
  font-size: 15px;
  color: var(--mute);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ---------- Bund CTA Banner ---------- */
.bottom-cta-b {
  padding: 70px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #FFFFFF 100%);
}

.bottom-cta-b .cta-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 32px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: var(--sh2);
  box-sizing: border-box;
}

.bottom-cta-b h2 {
  font-size: 32px;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--ink);
}

.bottom-cta-b p {
  font-size: 16px;
  color: var(--mute);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.5;
}

.bottom-cta-b .cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.bottom-cta-b .cta-note {
  font-size: 12px;
  color: var(--mute);
  margin: 0;
  line-height: 1.5;
}

.bottom-cta-b .cta-note a {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- Responsiv tilpasning (900px, 640px, 390px, 320px) ---------- */
@media (max-width: 900px) {
  .hero-b h1 {
    font-size: 34px;
  }
  .hero-b p.lede {
    font-size: 16px;
  }
  .pillars-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-row.reverse .feature-media {
    order: 2;
  }
  .feature-row.reverse .feature-content {
    order: 1;
  }
}

@media (max-width: 640px) {
  .landing-shell {
    padding: 0 16px;
  }

  /* 'English'-sprogknappen og topnav med normal knapstørrelse på mobil */
  .v5-top .v5-topnav {
    gap: 8px;
  }

  .v5-top .v5-topnav a[href*="set-language"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: #FFFFFF;
    color: var(--ink);
    box-shadow: var(--sh1);
    font-size: 13px;
    font-weight: 600;
    box-sizing: border-box;
  }

  .hero-b {
    padding: 20px 0 36px;
  }
  .hero-b h1 {
    font-size: 27px;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
  }
  .hero-b p.lede {
    font-size: 14.5px;
    line-height: 1.45;
    margin-bottom: 20px;
  }
  .hero-b-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 16px;
  }
  .hero-b-actions .btn-google,
  .hero-b-actions .btn {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    font-size: 14.5px;
  }
  .hero-b-trust {
    font-size: 11.5px;
    gap: 8px 14px;
    margin-bottom: 28px;
  }
  .hero-tabs-wrap {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    margin-bottom: 20px;
  }
  .hero-tab-btn {
    padding: 0 12px;
    height: 32px;
    font-size: 12.5px;
  }

  /* Mobil-visning af Hero: centreret telefonramme */
  #hero-desktop-window {
    display: none;
  }
  .hero-phone-overlay {
    position: static;
    margin: 0 auto;
    width: 270px;
    max-width: 100%;
    filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.22));
  }

  .feature-section {
    padding: 38px 0;
  }
  .feature-content h2 {
    font-size: 22px;
  }
  .feature-content p.desc {
    font-size: 14px;
  }
  .feature-bullets li {
    font-size: 13.5px;
  }
  .trust-section {
    padding: 44px 0;
  }
  .trust-header h2 {
    font-size: 22px;
  }
  .waitlist-section {
    padding: 38px 0;
  }
  .waitlist-card {
    padding: 24px 16px;
  }
  .waitlist-card h2 {
    font-size: 20px;
  }
  .waitlist-card p.desc {
    font-size: 14px;
  }
  .bottom-cta-b {
    padding: 44px 0;
  }
  .bottom-cta-b .cta-panel {
    padding: 24px 16px;
  }
  .bottom-cta-b h2 {
    font-size: 23px;
  }
  .bottom-cta-b p {
    font-size: 14.5px;
  }
  .bottom-cta-b .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .bottom-cta-b .cta-actions .btn-google,
  .bottom-cta-b .cta-actions .btn {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
  }
}

@media (max-width: 390px) {
  .hero-b h1 {
    font-size: 25px;
  }
  .hero-b-trust {
    font-size: 11.5px;
    gap: 10px;
  }
  .mockup-address-bar {
    max-width: 200px;
    font-size: 10.5px;
  }
}

/* Waitlist form styles (CSP-compliant, no inline styles) */
.ss-waitlist-box {
  margin: 24px auto 0;
  max-width: 520px;
  padding: 24px 20px;
  border-radius: var(--v5-radius-md, 12px);
  border: 1px solid var(--v5-border-subtle, #e2e8f0);
  background: var(--v5-surface, #ffffff);
  box-shadow: var(--v5-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.05));
}
.waitlist-card .ss-waitlist-box {
  margin: 0 auto;
  border: none;
  box-shadow: none;
  padding: 16px 0 0;
  background: transparent;
}
.waitlist-card .wl-head {
  display: none;
}
.wl-head {
  text-align: center;
  margin-bottom: 24px;
}
.wl-head-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--v5-text, #0f172a);
  margin: 0 0 8px 0;
}
.wl-head-lead {
  font-size: 14px;
  color: var(--v5-text-muted, #64748b);
  margin: 0;
  line-height: 1.5;
}
.wl-honeypot {
  display: none !important;
}
.wl-field {
  display: block;
  margin-bottom: 16px;
}
.wl-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--v5-text-secondary, #334155);
  margin-bottom: 6px;
}
.wl-input,
.wl-select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 15px;
  border-radius: var(--v5-radius-sm, 8px);
  border: 1px solid var(--v5-border, #cbd5e1);
  background: var(--v5-surface, #ffffff);
  color: var(--v5-text, #0f172a);
  font-family: inherit;
}
.wl-input:focus,
.wl-select:focus {
  outline: 2px solid var(--v5-primary, #1f3b28);
  outline-offset: -1px;
}
.wl-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.wl-flex-1 {
  flex: 1;
}
.wl-other {
  margin-bottom: 16px;
}
.wl-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  text-align: left;
  padding: 12px 14px;
  margin-bottom: 20px;
  border: 1px solid var(--v5-border-subtle, #e2e8f0);
  border-radius: var(--v5-radius-sm, 8px);
  background: var(--v5-surface-subtle, #f8fafc);
}
.wl-checkbox {
  margin-top: 3px;
  accent-color: var(--v5-primary, #1f3b28);
}
.wl-consent-title {
  display: block;
  font-size: 14px;
  color: var(--v5-text, #0f172a);
}
.wl-consent-note {
  display: block;
  font-size: 12px;
  color: var(--v5-text-muted, #64748b);
  margin-top: 4px;
  line-height: 1.4;
}
.wl-submit-btn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--v5-radius-sm, 8px);
  background: var(--v5-primary, #1f3b28);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}
.wl-submit-btn:hover {
  background: var(--v5-primary-hover, #162a1c);
}
