:root {
  --fn-yellow: #ffc400;
  --fn-yellow-strong: #f4b900;
  --fn-yellow-soft: #fff5c7;
  --fn-black: #111214;
  --fn-text: #1a1b1e;
  --fn-muted: #62666d;
  --fn-page: #fafafa;
  --fn-card: #ffffff;
  --fn-border: #e3e4e7;
  --fn-shadow: 0 18px 50px rgba(24, 25, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.fn-landing-page {
  margin: 0;
  background:
    radial-gradient(
      circle at 80% 12%,
      rgba(255, 196, 0, 0.12),
      transparent 24rem
    ),
    var(--fn-page);
  color: var(--fn-text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.fn-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.fn-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--fn-border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.fn-header__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.fn-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fn-black);
  text-decoration: none;
}

.fn-brand__mark {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--fn-black);
}

.fn-brand__mark .fixnow-brand-logo {
  width: 54px;
  max-width: none;
}

.fn-brand__name {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.fn-header__controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.fn-language {
  display: flex;
  align-items: center;
  gap: 5px;
}

.fn-language a {
  display: inline-flex;
  min-width: 42px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--fn-text);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.fn-language a:hover,
.fn-language a.is-active {
  background: var(--fn-yellow);
  color: #111;
}

.fn-hero {
  padding: 76px 0 56px;
}

.fn-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(400px, 0.97fr);
  gap: 56px;
  align-items: center;
}

.fn-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 21px;
}

.fn-badge {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid var(--fn-yellow);
  border-radius: 999px;
  background: var(--fn-yellow);
  color: #111;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.fn-badge--outline {
  background: transparent;
  color: #111;
}

html[data-theme="dark"] .fn-badge--outline {
  color: #ffd84d;
  border-color: #ffd84d;
  background: rgba(255, 216, 77, 0.08);
}

.fn-hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.25rem, 7vw, 6.6rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.91;
}

.fn-hero h1 span {
  display: block;
  color: var(--fn-yellow-strong);
}

.fn-hero h2 {
  max-width: 650px;
  margin: 30px 0 12px;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.2;
}

.fn-hero__description {
  max-width: 670px;
  margin: 0;
  color: var(--fn-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.fn-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 31px;
}

.fn-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.fn-button:hover {
  transform: translateY(-2px);
}

.fn-button--primary {
  background: var(--fn-yellow);
  color: #111;
  box-shadow: 0 13px 26px rgba(244, 185, 0, 0.26);
}

.fn-button--primary:hover {
  background: #ffd02b;
}

.fn-button--secondary {
  border-color: #bfc2c7;
  background: var(--fn-card);
  color: var(--fn-text);
}

.fn-button--dark {
  background: var(--fn-black);
  color: #fff;
  white-space: nowrap;
}

.fn-play {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.62rem;
}

.fn-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 33px;
}

.fn-platform {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 800;
}

.fn-platform__icon {
  display: inline-flex;
  width: 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--fn-yellow);
  color: #111;
}

.fn-platform svg,
.fn-card-icon svg,
.fn-benefit-icon svg,
.fn-floating-icon svg,
.fn-trust-card__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fn-hero__visual {
  position: relative;
  min-height: 510px;
}

.fn-visual__halo {
  position: absolute;
  inset: 30px 35px 35px;
  border-radius: 48% 52% 45% 55%;
  background:
    radial-gradient(
      circle at 50% 45%,
      #ffdc5c 0,
      var(--fn-yellow) 52%,
      #f4b900 100%
    );
  transform: rotate(-5deg);
}

.fn-visual__logo {
  position: absolute;
  top: 65px;
  left: 50%;
  z-index: 3;
  width: 255px;
  transform: translateX(-50%);
}

.fn-visual__logo .fixnow-brand-logo {
  width: 100%;
  max-width: none;
}

.fn-floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(17, 18, 20, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.95);
  color: #151515;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.13);
  font-size: 0.73rem;
  font-weight: 900;
}

.fn-floating-card--verified {
  top: 21px;
  right: 10px;
}

.fn-floating-card--location {
  bottom: 46px;
  left: 0;
}

.fn-floating-icon {
  display: inline-flex;
  width: 33px;
  height: 33px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--fn-yellow);
}

.fn-device {
  position: absolute;
  z-index: 4;
  background: #151619;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.24);
}

.fn-device--phone {
  bottom: 14px;
  left: 80px;
  width: 105px;
  height: 205px;
  padding: 10px;
  border: 4px solid #26272b;
  border-radius: 24px;
  transform: rotate(-7deg);
}

.fn-device__speaker {
  width: 28px;
  height: 4px;
  margin: 0 auto 9px;
  border-radius: 999px;
  background: #55585f;
}

.fn-device__screen {
  display: grid;
  gap: 9px;
  height: calc(100% - 16px);
  padding: 15px 9px;
  border-radius: 14px;
  background: #f9f9f9;
}

.fn-device__screen span {
  display: block;
  height: 22px;
  border-radius: 8px;
  background:
    linear-gradient(
      90deg,
      var(--fn-yellow) 0 22%,
      #e6e6e6 22% 100%
    );
}

.fn-device--laptop {
  right: 5px;
  bottom: 10px;
  width: 250px;
  height: 150px;
  padding: 8px;
  border-radius: 13px 13px 5px 5px;
}

.fn-laptop__screen {
  position: relative;
  height: 126px;
  overflow: hidden;
  border-radius: 7px;
  background:
    linear-gradient(
      135deg,
      #eaecef 0 30%,
      #d7dade 30% 32%,
      #f4f5f6 32% 58%,
      #d6d9dd 58% 60%,
      #e9ebed 60%
    );
}

.fn-laptop__base {
  position: absolute;
  right: -13px;
  bottom: -8px;
  left: -13px;
  height: 12px;
  border-radius: 2px 2px 12px 12px;
  background: #282a2e;
}

.fn-map-pin {
  position: absolute;
  width: 17px;
  height: 17px;
  border: 5px solid var(--fn-yellow);
  border-radius: 50% 50% 50% 0;
  background: #111;
  transform: rotate(-45deg);
}

.fn-map-pin--one {
  top: 22px;
  left: 45px;
}

.fn-map-pin--two {
  top: 60px;
  left: 120px;
}

.fn-map-pin--three {
  top: 33px;
  right: 31px;
}

.fn-process {
  padding: 38px 0 72px;
}

.fn-section-heading {
  max-width: 720px;
  margin: 0 auto 29px;
  text-align: center;
}

.fn-section-heading--left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.fn-section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  letter-spacing: -0.045em;
}

.fn-section-heading p {
  margin: 9px 0 0;
  color: var(--fn-muted);
  line-height: 1.6;
}

.fn-process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fn-step-card {
  position: relative;
  min-height: 295px;
  padding: 27px;
  border: 1px solid var(--fn-border);
  border-radius: 22px;
  background: var(--fn-card);
  box-shadow: var(--fn-shadow);
}

.fn-step-number {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--fn-yellow);
  color: #111;
  font-weight: 950;
}

.fn-card-icon {
  display: inline-flex;
  width: 71px;
  height: 71px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 22px;
  background: var(--fn-yellow-soft);
  color: #111;
}

.fn-card-icon svg {
  width: 38px;
  height: 38px;
}

.fn-step-card h3 {
  max-width: 230px;
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.fn-step-card p {
  margin: 0;
  color: var(--fn-muted);
  line-height: 1.65;
}

.fn-benefits {
  padding: 10px 0 72px;
}

.fn-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.fn-benefit-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--fn-border);
  border-radius: 18px;
  background: var(--fn-card);
}

.fn-benefit-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--fn-yellow-soft);
  color: #111;
}

.fn-benefit-icon strong {
  font-size: 1.25rem;
}

.fn-benefit-card h3 {
  margin: 3px 0 7px;
  font-size: 1rem;
}

.fn-benefit-card p {
  margin: 0;
  color: var(--fn-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.fn-trust {
  padding: 0 0 75px;
}

.fn-trust__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 19px;
}

.fn-trust-card,
.fn-ready-card {
  display: flex;
  min-height: 220px;
  align-items: center;
  gap: 23px;
  padding: 31px;
  border-radius: 23px;
}

.fn-trust-card {
  background:
    linear-gradient(
      135deg,
      #ffdc59,
      var(--fn-yellow)
    );
  color: #111;
}

.fn-trust-card__icon {
  display: inline-flex;
  width: 86px;
  min-width: 86px;
  height: 86px;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.58);
}

.fn-trust-card__icon svg {
  width: 53px;
  height: 53px;
  stroke-width: 1.8;
}

.fn-trust-card h2,
.fn-ready-card h2 {
  margin: 0 0 9px;
  font-size: clamp(1.45rem, 2.7vw, 2.1rem);
  line-height: 1.15;
}

.fn-trust-card p,
.fn-ready-card p {
  margin: 0;
  line-height: 1.65;
}

.fn-ready-card {
  justify-content: space-between;
  border: 1px solid #303238;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(255, 196, 0, 0.2),
      transparent 16rem
    ),
    #17181b;
  color: #fff;
}

.fn-ready-card p {
  max-width: 520px;
  color: #cacdd2;
}

.fn-ready-card .fn-button--dark {
  border: 1px solid var(--fn-yellow);
  background: var(--fn-yellow);
  color: #111;
}

.fn-footer {
  border-top: 1px solid var(--fn-border);
  background: var(--fn-card);
}

.fn-footer__inner {
  display: flex;
  min-height: 85px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--fn-muted);
  font-size: 0.88rem;
}

.fn-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.fn-footer a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.fn-footer a:hover {
  color: var(--fn-yellow-strong);
}

/* Tmavý režim */

html[data-theme="dark"] {
  --fn-text: #f4f5f7;
  --fn-muted: #b6bbc3;
  --fn-page: #0d0f12;
  --fn-card: #1b1e22;
  --fn-border: #34383e;
  --fn-shadow: 0 18px 50px rgba(0, 0, 0, 0.33);
}

html[data-theme="dark"] body.fn-landing-page {
  background:
    radial-gradient(
      circle at 80% 12%,
      rgba(255, 196, 0, 0.1),
      transparent 24rem
    ),
    var(--fn-page) !important;
}

html[data-theme="dark"] .fn-header {
  border-bottom-color: var(--fn-border);
  background: rgba(13, 15, 18, 0.9);
}

html[data-theme="dark"] .fn-brand {
  color: #fff;
}

html[data-theme="dark"] .fn-brand__mark {
  background: #fff;
}

html[data-theme="dark"] .fn-language a {
  color: #f4f5f7;
}

html[data-theme="dark"] .fn-language a.is-active {
  color: #111;
}

html[data-theme="dark"] .fn-button--secondary {
  border-color: #565b63;
  background: #1b1e22;
  color: #f4f5f7;
}

html[data-theme="dark"] .fn-step-card,
html[data-theme="dark"] .fn-benefit-card {
  background: #1b1e22;
}

html[data-theme="dark"] .fn-card-icon,
html[data-theme="dark"] .fn-benefit-icon {
  background: #3a3212;
  color: #ffdb57;
}

html[data-theme="dark"] .fn-footer {
  background: #131518;
}

html[data-theme="dark"] .fn-device__screen {
  background: #272a2f;
}

html[data-theme="dark"] .fn-device__screen span {
  background:
    linear-gradient(
      90deg,
      var(--fn-yellow) 0 22%,
      #474b52 22% 100%
    );
}

/* Responzívne */

@media (max-width: 980px) {
  .fn-hero__grid {
    grid-template-columns: 1fr;
  }

  .fn-hero__content {
    text-align: center;
  }

  .fn-badges,
  .fn-hero__actions,
  .fn-platforms {
    justify-content: center;
  }

  .fn-hero h1,
  .fn-hero h2,
  .fn-hero__description {
    margin-right: auto;
    margin-left: auto;
  }

  .fn-hero__visual {
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .fn-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fn-trust__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .fn-header__inner {
    min-height: 74px;
  }

  .fn-brand__name {
    font-size: 1.55rem;
  }

  .fn-brand__mark {
    width: 48px;
    height: 48px;
  }

  .fn-brand__mark .fixnow-brand-logo {
    width: 45px;
  }

  .fn-header__controls {
    gap: 8px;
  }

  .fn-language a {
    min-width: 34px;
    min-height: 34px;
    font-size: 0.74rem;
  }

  .fn-process__grid {
    grid-template-columns: 1fr;
  }

  .fn-step-card {
    min-height: auto;
  }

  .fn-ready-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .fn-shell,
  .fn-header__inner {
    width: min(100% - 24px, 1180px);
  }

  .fn-header__inner {
    flex-wrap: wrap;
    padding: 11px 0;
  }

  .fn-header__controls {
    width: 100%;
    justify-content: space-between;
  }

  .fn-hero {
    padding-top: 49px;
  }

  .fn-hero h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .fn-hero__visual {
    min-height: 410px;
  }

  .fn-visual__logo {
    top: 74px;
    width: 190px;
  }

  .fn-device--phone {
    left: 20px;
    width: 85px;
    height: 165px;
  }

  .fn-device--laptop {
    right: 0;
    width: 196px;
    height: 122px;
  }

  .fn-laptop__screen {
    height: 101px;
  }

  .fn-floating-card--verified {
    right: 0;
  }

  .fn-floating-card--location {
    bottom: 12px;
  }

  .fn-benefits__grid {
    grid-template-columns: 1fr;
  }

  .fn-trust-card {
    align-items: flex-start;
  }

  .fn-trust-card__icon {
    width: 65px;
    min-width: 65px;
    height: 65px;
  }

  .fn-trust-card__icon svg {
    width: 39px;
    height: 39px;
  }

  .fn-footer__inner {
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
    text-align: center;
  }
}


/* FixNow pricing clarification */

.fn-pricing-note {
  display: flex;
  max-width: 680px;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  padding: 13px 16px;
  border: 1px solid #e5c13d;
  border-left: 5px solid var(--fn-yellow);
  border-radius: 11px;
  background: #fff9dc;
  color: #3e360f;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55;
}

.fn-pricing-note > span {
  flex: 0 0 auto;
  color: #c99700;
}

html[data-theme="dark"] .fn-pricing-note {
  border-color: #756719;
  border-left-color: var(--fn-yellow);
  background: #302b10;
  color: #f3e5a0;
}

@media (max-width: 980px) {
  .fn-pricing-note {
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }
}

/* FixNow admin entry button */
.fn-admin-entry {
  position: fixed;
  top: 104px;
  right: 28px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 196, 0, 0.95);
  border-radius: 999px;
  background: rgba(255, 196, 0, 0.12);
  color: #111;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(8px);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.fn-admin-entry:hover {
  transform: translateY(-1px);
  background: #ffc400;
  color: #111;
  border-color: #ffc400;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

html[data-theme="dark"] .fn-admin-entry {
  color: #ffd84d;
  border-color: rgba(255, 216, 77, 0.82);
  background: rgba(255, 216, 77, 0.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.44);
}

html[data-theme="dark"] .fn-admin-entry:hover {
  background: #ffc400;
  color: #111;
  border-color: #ffc400;
}

@media (max-width: 900px) {
  .fn-admin-entry {
    top: auto;
    right: 16px;
    bottom: 16px;
    min-height: 40px;
    padding: 9px 13px;
    font-size: 0.78rem;
  }
}

